[email protected]:~# vzctl set 1001 --name deb --nameserver "202.188.0.133 202.188.1.5" --diskspace 2G:2G --save
Name deb assigned
Saved parameters for CT 1001

Starting the container.

[email protected]:~# vzctl start 1001
Starting container ...
Container is mounted
Adding IP address(es): 192.168.1.200
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: deb.inertz.org
File resolv.conf was modified
Container start in progress...
[email protected]:~# vzctl start 1001
Container is already running

Entering the container.

[email protected]:~# vzctl enter 1001
entered into CT 1001
deb:/#

Set ROOT password.

deb:/# passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Checking kernel.

deb:/# uname -a
Linux deb.inertz.org 2.6.24-22- #1 SMP Fri Nov 14 13:55:04 UTC 2008 x86_64 GNU/Linux

It successfully login to GUEST OS. Notice that it use the same kernel as HOST OS. Different with Xen and virtualbox, where the OS is fully virtualize.

Leave a Reply

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

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.