* Re: [sisyphus] Установка template'а OpenVZ в ALT Linux 3.0 @ 2006-11-19 22:51 ` Konstantin A. Lepikhov 2006-11-19 23:06 ` Dmitry V. Levin 2006-11-20 10:18 ` Michael Shigorin 2006-11-20 7:52 ` Slava Dubrovskiy 1 sibling, 2 replies; 10+ messages in thread From: Konstantin A. Lepikhov @ 2006-11-19 22:51 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list [-- Attachment #1: Type: text/plain, Size: 715 bytes --] Hi Дмитрий! Sunday 19, at 09:28:37 PM you wrote: > При попытке установить template > http://paq.osdn.org.ua/~mike/tmp/openvz/altlinux-20060914.tar.gz командой > > vzctl create 101 --ostemplate altlinux-20060914 --config vps.basic > > получаю ошибку > > 101: invalid option -- > > То есть, никакого option'а конкретного он в ошибке не выдаёт. > > Делал по инструкции > http://www.freesource.info/wiki/AltLinux/Dokumentacija/OpenV > Z <http://www.freesource.info/wiki/AltLinux/Dokumentacija/OpenVZ> > Шаблон брал там же. Читаем man и проясняем ситуацию - template надо переименовать в altlinux-3.0 и --ostemplate altlinux-20060914 заменить на --ostemplate altlinux-3.0 -- WBR et al. [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] Установка template'а OpenVZ в ALT Linux 3.0 2006-11-19 22:51 ` [sisyphus] Установка template'а OpenVZ в ALT Linux 3.0 Konstantin A. Lepikhov @ 2006-11-19 23:06 ` Dmitry V. Levin 2006-11-19 23:15 ` Konstantin A. Lepikhov 2006-11-20 10:18 ` Michael Shigorin 1 sibling, 1 reply; 10+ messages in thread From: Dmitry V. Levin @ 2006-11-19 23:06 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list [-- Attachment #1: Type: text/plain, Size: 938 bytes --] On Mon, Nov 20, 2006 at 01:51:00AM +0300, Konstantin A. Lepikhov wrote: > Sunday 19, at 09:28:37 PM you wrote: > > > При попытке установить template > > http://paq.osdn.org.ua/~mike/tmp/openvz/altlinux-20060914.tar.gz командой > > > > vzctl create 101 --ostemplate altlinux-20060914 --config vps.basic > > > > получаю ошибку > > > > 101: invalid option -- > > > > То есть, никакого option'а конкретного он в ошибке не выдаёт. > > > > Делал по инструкции > > http://www.freesource.info/wiki/AltLinux/Dokumentacija/OpenV > > Z <http://www.freesource.info/wiki/AltLinux/Dokumentacija/OpenVZ> > > Шаблон брал там же. > Читаем man и проясняем ситуацию - template надо переименовать в > altlinux-3.0 и --ostemplate altlinux-20060914 заменить на --ostemplate > altlinux-3.0 А зачем? Я так делать не пробовал, работало и без переименования. Например, часто использую имя altlinux-i686-minimal.tar.gz -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] Установка template'а OpenVZ в ALT Linux 3.0 2006-11-19 23:06 ` Dmitry V. Levin @ 2006-11-19 23:15 ` Konstantin A. Lepikhov 2006-11-20 0:14 ` Dmitry V. Levin 0 siblings, 1 reply; 10+ messages in thread From: Konstantin A. Lepikhov @ 2006-11-19 23:15 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list [-- Attachment #1: Type: text/plain, Size: 1100 bytes --] Hi Dmitry! Monday 20, at 02:06:53 AM you wrote: > On Mon, Nov 20, 2006 at 01:51:00AM +0300, Konstantin A. Lepikhov wrote: > > Sunday 19, at 09:28:37 PM you wrote: > > > > > При попытке установить template > > > http://paq.osdn.org.ua/~mike/tmp/openvz/altlinux-20060914.tar.gz командой > > > > > > vzctl create 101 --ostemplate altlinux-20060914 --config vps.basic > > > > > > получаю ошибку > > > > > > 101: invalid option -- > > > > > > То есть, никакого option'а конкретного он в ошибке не выдаёт. > > > > > > Делал по инструкции > > > http://www.freesource.info/wiki/AltLinux/Dokumentacija/OpenV > > > Z <http://www.freesource.info/wiki/AltLinux/Dokumentacija/OpenVZ> > > > Шаблон брал там же. > > Читаем man и проясняем ситуацию - template надо переименовать в > > altlinux-3.0 и --ostemplate altlinux-20060914 заменить на --ostemplate > > altlinux-3.0 > > А зачем? Я так делать не пробовал, работало и без переименования. > Например, часто использую имя altlinux-i686-minimal.tar.gz а по-какому критерию тогда vzctl ищет нужные scripts? -- WBR et al. [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] Установка template'а OpenVZ в ALT Linux 3.0 2006-11-19 23:15 ` Konstantin A. Lepikhov @ 2006-11-20 0:14 ` Dmitry V. Levin 0 siblings, 0 replies; 10+ messages in thread From: Dmitry V. Levin @ 2006-11-20 0:14 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list [-- Attachment #1: Type: text/plain, Size: 1405 bytes --] On Mon, Nov 20, 2006 at 02:15:47AM +0300, Konstantin A. Lepikhov wrote: > Monday 20, at 02:06:53 AM you wrote: > > On Mon, Nov 20, 2006 at 01:51:00AM +0300, Konstantin A. Lepikhov wrote: > > > Sunday 19, at 09:28:37 PM you wrote: > > > > > > > При попытке установить template > > > > http://paq.osdn.org.ua/~mike/tmp/openvz/altlinux-20060914.tar.gz командой > > > > > > > > vzctl create 101 --ostemplate altlinux-20060914 --config vps.basic > > > > > > > > получаю ошибку > > > > > > > > 101: invalid option -- > > > > > > > > То есть, никакого option'а конкретного он в ошибке не выдаёт. > > > > > > > > Делал по инструкции > > > > http://www.freesource.info/wiki/AltLinux/Dokumentacija/OpenV > > > > Z <http://www.freesource.info/wiki/AltLinux/Dokumentacija/OpenVZ> > > > > Шаблон брал там же. > > > Читаем man и проясняем ситуацию - template надо переименовать в > > > altlinux-3.0 и --ostemplate altlinux-20060914 заменить на --ostemplate > > > altlinux-3.0 > > > > А зачем? Я так делать не пробовал, работало и без переименования. > > Например, часто использую имя altlinux-i686-minimal.tar.gz > а по-какому критерию тогда vzctl ищет нужные scripts? См. get_dist_conf_name(). В случае --ostemplate altlinux-i686-minimal будут проверены: altlinux-i686-minimal.conf altlinux-i686.conf altlinux.conf default Будет использован первый найденный. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] Установка template'а OpenVZ в ALT Linux 3.0 2006-11-19 22:51 ` [sisyphus] Установка template'а OpenVZ в ALT Linux 3.0 Konstantin A. Lepikhov 2006-11-19 23:06 ` Dmitry V. Levin @ 2006-11-20 10:18 ` Michael Shigorin 2006-11-20 15:51 ` [sisyphus] " Konstantin A. Lepikhov 1 sibling, 1 reply; 10+ messages in thread From: Michael Shigorin @ 2006-11-20 10:18 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list [-- Attachment #1: Type: text/plain, Size: 388 bytes --] On Mon, Nov 20, 2006 at 01:51:00AM +0300, Konstantin A. Lepikhov wrote: > Читаем man и проясняем ситуацию - template надо переименовать в > altlinux-3.0 и --ostemplate altlinux-20060914 заменить на > --ostemplate altlinux-3.0 Это ещё зачем? Оно сизиф-20060914 и ни разу не 3.0. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* [sisyphus] Re: Установка template'а OpenVZ в ALT Linux 3.0 2006-11-20 10:18 ` Michael Shigorin @ 2006-11-20 15:51 ` Konstantin A. Lepikhov 2006-11-20 17:25 ` [sisyphus] " Michael Shigorin 0 siblings, 1 reply; 10+ messages in thread From: Konstantin A. Lepikhov @ 2006-11-20 15:51 UTC (permalink / raw) To: sisyphus <цитата от="Michael Shigorin"> > On Mon, Nov 20, 2006 at 01:51:00AM +0300, Konstantin A. Lepikhov wrote: >> Читаем man и проясняем ситуацию - template надо переименовать в >> altlinux-3.0 и --ostemplate altlinux-20060914 заменить на >> --ostemplate altlinux-3.0 > > Это ещё зачем? Оно сизиф-20060914 и ни разу не 3.0. он etcnet -- WBR et al. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] Установка template'а OpenVZ в ALT Linux 3.0 2006-11-20 15:51 ` [sisyphus] " Konstantin A. Lepikhov @ 2006-11-20 17:25 ` Michael Shigorin 2006-11-21 7:30 ` Slava Dubrovskiy 0 siblings, 1 reply; 10+ messages in thread From: Michael Shigorin @ 2006-11-20 17:25 UTC (permalink / raw) To: sisyphus On Mon, Nov 20, 2006 at 06:51:42PM +0300, Konstantin A. Lepikhov wrote: > >> Читаем man и проясняем ситуацию - template надо > >> переименовать в altlinux-3.0 и --ostemplate > >> altlinux-20060914 заменить на --ostemplate altlinux-3.0 > > Это ещё зачем? Оно сизиф-20060914 и ни разу не 3.0. > он etcnet *sigh* Переименовывать-то зачем? -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] Установка template'а OpenVZ в ALT Linux 3.0 2006-11-20 17:25 ` [sisyphus] " Michael Shigorin @ 2006-11-21 7:30 ` Slava Dubrovskiy 2006-11-21 16:25 ` Michael Shigorin 0 siblings, 1 reply; 10+ messages in thread From: Slava Dubrovskiy @ 2006-11-21 7:30 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list [-- Attachment #1: Type: text/plain, Size: 611 bytes --] Michael Shigorin пишет: >>>> Читаем man и проясняем ситуацию - template надо >>>> переименовать в altlinux-3.0 и --ostemplate >>>> altlinux-20060914 заменить на --ostemplate altlinux-3.0 >>>> >>> Это ещё зачем? Оно сизиф-20060914 и ни разу не 3.0. >>> >> он etcnet >> > Переименовывать-то зачем? > По имени шаблона заполняется OSTEMPLATE в *.conf и потом по этой переменной ищется нужный конфиг (в /etc/vz/dists) по вышеуказанному алгоритму. Т.е. если не найдет совпадающее имя, то использует тот, что по умолчанию указан (если указан) в vz.conf -- С уважением, Дубровский Вячеслав. [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3237 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] Установка template'а OpenVZ в ALT Linux 3.0 2006-11-21 7:30 ` Slava Dubrovskiy @ 2006-11-21 16:25 ` Michael Shigorin 0 siblings, 0 replies; 10+ messages in thread From: Michael Shigorin @ 2006-11-21 16:25 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list On Tue, Nov 21, 2006 at 09:30:48AM +0200, Slava Dubrovskiy wrote: > >>>> Читаем man и проясняем ситуацию - template надо > >>>> переименовать в altlinux-3.0 и --ostemplate > >>>> altlinux-20060914 заменить на --ostemplate altlinux-3.0 > >>> Это ещё зачем? Оно сизиф-20060914 и ни разу не 3.0. > >> он etcnet > > Переименовывать-то зачем? > По имени шаблона заполняется OSTEMPLATE в *.conf и потом по > этой переменной ищется нужный конфиг (в /etc/vz/dists) по > вышеуказанному алгоритму. Т.е. если не найдет совпадающее имя, > то использует тот, что по умолчанию указан (если указан) в > vz.conf Это я знаю, но всё равно теряюсь в догадках -- наверное, потому, что ровно выложенные мной темплейты мной же непосредственно перед этим заряжались в дежурство. Разумеется, с --ipadd. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] Установка template'а OpenVZ в ALT Linux 3.0 2006-11-19 22:51 ` [sisyphus] Установка template'а OpenVZ в ALT Linux 3.0 Konstantin A. Lepikhov @ 2006-11-20 7:52 ` Slava Dubrovskiy 1 sibling, 0 replies; 10+ messages in thread From: Slava Dubrovskiy @ 2006-11-20 7:52 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list [-- Attachment #1: Type: text/plain, Size: 941 bytes --] Дмитрий Шевченко пишет: > При попытке установить template > http://paq.osdn.org.ua/~mike/tmp/openvz/altlinux-20060914.tar.gz > <http://paq.osdn.org.ua/%7Emike/tmp/openvz/altlinux-20060914.tar.gz> > командой > vzctl create 101 --ostemplate altlinux-20060914 --config vps.basic > получаю ошибку > 101: invalid option -- > То есть, никакого option'а конкретного он в ошибке не выдаёт. > > Делал по инструкции > http://www.freesource.info/wiki/AltLinux/Dokumentacija/OpenV Z > <http://www.freesource.info/wiki/AltLinux/Dokumentacija/OpenVZ> > Шаблон брал там же. Попробуйте не указывать --config vps.basic, только --ostemplate altlinux-20060914 Не знаю почему, но у меня тоже не работает. Может из-за того, что правил vz.conf? diff vz.conf vz.conf.org 10c10 < LOG_LEVEL=2 --- > LOG_LEVEL=0 27c27 < DEF_OSTEMPLATE="altlinux" --- > DEF_OSTEMPLATE="fedora-core-4" 32a33 > -- С уважением, Дубровский Вячеслав. [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3237 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-11-21 16:25 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-11-19 22:51 ` [sisyphus] Установка template'а OpenVZ в ALT Linux 3.0 Konstantin A. Lepikhov 2006-11-19 23:06 ` Dmitry V. Levin 2006-11-19 23:15 ` Konstantin A. Lepikhov 2006-11-20 0:14 ` Dmitry V. Levin 2006-11-20 10:18 ` Michael Shigorin 2006-11-20 15:51 ` [sisyphus] " Konstantin A. Lepikhov 2006-11-20 17:25 ` [sisyphus] " Michael Shigorin 2006-11-21 7:30 ` Slava Dubrovskiy 2006-11-21 16:25 ` Michael Shigorin 2006-11-20 7:52 ` Slava Dubrovskiy
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git