root@hostmaster-laptop:~# 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.
root@hostmaster-laptop:~# 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...
root@hostmaster-laptop:~# vzctl start 1001
Container is already running
Entering the container.
root@hostmaster-laptop:~# 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-openvz #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.