6,534
edits
Changes
New layout (mount scripts are at /etc/vz/conf for all distros, not just Debian)
==== Create On-umount script for remove HW → CT route(s) ====
which should be called each time a container with VEID (<code>/etc/sysconfigvz/vzconf/$VEID.umount</code>), or any container (<code>/etc/sysconfigvz/vzconf/vps.umount</code>) is stopedstop.
<pre>
#!/bin/bash
# /etc/sysconfigvz/vzconf/$VEID.umount or /etc/sysconfigvz/vzconf/vps.umount
# a script to remove routes to container with veth-bridge from bridge
</pre>
{{Note|The script should be executable (chmod +x /etc/sysconfigvz/vzconf/vps.umount)}}
==== Setting the route CT → HN ====