OpenVZ Forum


Home » International » Russian » как создать свой template?
Re: как создать свой template? [message #868 is a reply to message #867] Tue, 17 January 2006 12:14 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Quote:

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



Поставьте чёрточку между core и 4 в имя tar.gz файла (ну и в аргумент команды --ostemplate)

Quote:

Unable to start init, probably incorrect template
VPS start failed
Stopping VPS ...
VPS was stopped
VPS is unmounted



Это совсем другая проблема -- вероятно, вы неправильно запаковали тарболл, там, похоже, нет файла /sbin/init внутри. Очевидно, что это можно легко проверить, например, так:

tar tvzf /vz/template/cache/fedora-core4-full.tar.gz | grep sbin/init


Должно получиться как минимум что-то вот такое:
-rwxr-xr-x 0/0           31216 2005-04-27 19:42:41 ./sbin/init



Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
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: Sat Aug 02 17:20:21 GMT 2025

Total time taken to generate the page: 0.77388 seconds