On 04.09.2006 13:35:50, Slava Dubrovskiy wrote: > Ildar Mulyukov пишет: > >>> в /etc/vz/vps.mount написано след: > >> Наверно все-таки в /etc/vz/conf/vps.mount > > Нет. Сам скрипт vps.mount vzctl вызывать не будет. Только если > > сделать ln -s /etc/vz/vps.mount /etc/vz/conf/101.mount > Нет. Вы не правы. Вы предлагаете слинковать глобальный скрипт с > локальным. Вот выдержка из OpenVZ-Users-Guide: > Action scripts are located in the same directory as VPS configuration > files and have names like vpsid.action. The global scripts are named > vps.mount and vps.umount, and the other scripts have the > corresponding VPS ID as part of their name. As the names of the > global scripts are fixed, they are called when any VPS is started or > stopped. That is why, in these scripts you should perform those > commands that are common for all VPSs, and leave VPS-specific > commands for the scripts belonging to a particular VPS.
Понял. "Беру свой пост обратно". :) Даже, честно говоря, не знал о сущ-нии глобального скрипта. Как говорят, курите доки. Спасибо! С уважением, Ильдар -- Ildar Mulyukov, free SW designer/programmer/packager ========================================= email: [EMAIL PROTECTED] ALT Linux Sisyphus http://www.sisyphus.ru ========================================= _______________________________________________ Sysadmins mailing list [email protected] https://lists.altlinux.org/mailman/listinfo/sysadmins
