vzctl command examples

Create a Container with ID 444 and IP, based on the Debian 5 OS template.

# vzctl create 444 –ostemplate debian-5.0-x86_64

To set the IP address and hostname.

# vzctl set 444 –ipadd –hostname example.com –save

Start the newly created Container:

# vzctl start [CTID]

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.