OpenVZ Forum


Home » International » Russian » как создать свой template?
Re: как создать свой template? [message #867 is a reply to message #838] Tue, 17 January 2006 11:49 Go to previous messageGo to previous message
hostill is currently offline  hostill
Messages: 18
Registered: January 2006
Junior Member

Вообсчем еще вылезло вот что,
я сделал свой тарбол на основе вашего темплайта + свой софт положил его в cache/fedora-core4-full.tar.gz
теперь создаю сервер
$vzctl create 252 --ostemplate fedora-core4-full
Creating VPS private area: /vz/private/252
Unable to get full ostemplate name for fedora-core4-full
Warning: configuration file for distribution fedora-core4-full not found default used
Performing postcreate actions
VPS private area was created


странно вот это:
Unable to get full ostemplate name for fedora-core4-full
Warning: configuration file for distribution fedora-core4-full not found default used


Но ладно, далее задаем параметры впсу и опять вылезает
$vzctl set 252 --hostname dorw.ru --save
Warning: configuration file for distribution fedora-core4-full not found default used
Saved parameters for VPS 252


ну и конечно же он отказывается стартовать
vzctl start 252
Warning: configuration file for distribution fedora-core4-full not found default used
Starting VPS ...
VPS is mounted
Adding IP address(es): хххюхххюхх
Setting CPU units: 1000
Set hostname: dorw.ru
Unable to start init, probably incorrect template
VPS start failed
Stopping VPS ...
VPS was stopped
VPS is unmounted


далее создаем кофниг для него такой fedora-core4-full.conf на основе этого fedora-core-4.conf

но все равно пристарте такая вот борода
vzctl start 252
Starting VPS ...
VPS is mounted
Adding IP address(es): ххчххчххч
Setting CPU units: 1000
Set hostname: dorw.ru
Unable to start init, probably incorrect template
VPS start failed
Stopping VPS ...
VPS was stopped
VPS is unmounted


плз подскажите где еще нужно подправить?

[Updated on: Tue, 17 January 2006 12:05]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenVPN
Next Topic: CentOS 4.3 x86_64 and LVM trouble
Goto Forum:
  


Current Time: Thu Jul 31 22:32:29 GMT 2025

Total time taken to generate the page: 0.43637 seconds