root@hostmaster-laptop:~# vzctl set 1001 --name deb --nameserver "" --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):
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname:
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

Set ROOT password.

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

Checking kernel.

deb:/# uname -a
Linux 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.
Powered By
100% Free SEO Tools - Tool Kits PRO