8
edits
Changes
→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