Kir Kolyshkin (k001) wrote in openvz,
Kir Kolyshkin

CT console

Are you ready for the next cool feature? Please welcome CT console.

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 vzctl consoleand 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 (vzctl git commit) will be available in up-coming vzctl-3.0.31. I have just made a nightly build of vzctl (version available so you can test this. Check for information of how to get a nightly build.

Update: the feature is renamed to vzctl console.
Update: comments disabled due to spam.
Tags: console, container, feature, kernel, openvz, vzctl
Comments for this post were disabled by the author