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.

-- 
С уважением,
Дубровский Вячеслав.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Sysadmins mailing list
[email protected]
https://lists.altlinux.org/mailman/listinfo/sysadmins

Ответить