[Users] CT console feature

Kir Kolyshkin kir at openvz.org
Thu Feb 23 09:39:11 EST 2012


I am glad to announce CT console feature.

Available in RHEL6-based kernel since 042stab048.1, this feature is 
pretty simple to use. Use vzctl attach CTID to attach to this 
container's console, and you will be able to see all the messages CT 
init is writing to console, or run getty on it, or anything else.

Please note that the console is persistent, i.e. it is available even if 
a container is not running. That way, you can run vzctl attach and then 
(in another terminal) vzctl start. That also means that if a container 
is stopped, vzctl attach is still there.

Press Esc . to detach from the console.

The feature will be available in up-coming vzctl-3.0.31. I have just 
made a nightly build of vzctl (version 3.0.30.2-18.git.a1f523f) 
available so you can test this. Check 
http://wiki.openvz.org/Download/vzctl/nightly for information of how to 
get a nightly build.

For anyone interested in user-space implementation of this, check this 
git commit: 
http://git.openvz.org/?p=vzctl;a=commitdiff;h=a1f523f59a6e321ce2cc6dd42d0f5a660a712339


More information about the Users mailing list