2,253
edits
Changes
m
Robot: Automated text replacement (-VEs +containers)
Here are some scripting ideas
=== Get CTIDs of all running VEs containers ===
<pre>
host2:~/bin# cat vz-all-running
</pre>
=== Get all IPs of running VEs containers ===
<pre>
host2:~/bin# cat vz-all-running-ip
# reset the counter
iptables -Z
# update the iptables rules if there is a any change in VEscontainers
./vz-iptables-create-rules
=== Notes ===
As you see this way can be time-consuming in case of a big number of VEscontainers.
So if anybody has scripts that automate all the process — you are welcome!