Adding ip to OpenVZ container

Unix

21 Nov 2015

Adding ip to OpenVZ container

Preston Garrison 0 Comments

Adding ip to an openvz container should be done from the main machine. Just log in the machine and type:

vzctl set 100 --ipadd 8.8.8.8 --save

Substitute 100 for the machine id.