Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Using private IPs for Hardware Nodes

176 bytes added, 01:55, 1 December 2008
Create On-umount script for remove HW → CT route(s): where to put vps.umount script
==== Create On-umount script for remove HW → CT route(s) ====
which should be called each time a container with VEID (<code>/etc/sysconfig/vz/$VEID.umount</code>), or any container (<code>/etc/sysconfig/vz/vps.umount</code>) is stoped:. On a Debian system you can have per VE mount/umount scripts /etc/vz/conf/${VEID}.{mount|umount}or mount/umount scripts which all VEs will run /etc/vz/conf/vps.{mount|umount}
<pre>
#!/bin/bash
8
edits