Add ip to Openvz container

vzctl set <VEID> --ipadd <ip> --save

where is the container id, and is the ip what you want to add.

The –save flag will save the ip to the config file.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.