Ubuntu 12.04
Standartmässig ist die Konsole der OpenVZ VM nicht aktiviert.
Mit folgenden Schritten kann die Ausgabe aktiviert werden.
Login via SSH (or use the VNC „Shell“) to your Proxmox VE host and ‚vzctl enter CTID‘ the container:
List all running container:
1 2 3 4 5 6 7 8 |
proxmox-ve:~# vzlist CTID NPROC STATUS IP_ADDR HOSTNAME 108 23 running 192.168.9.20 ubuntu-1204.proxmox.com 109 18 running 192.168.9.21 centos63-64.proxmox.com 111 15 running 192.168.9.23 centos5-64.proxmox.com 114 14 running 192.168.9.30 deb6-32.proxmox.com 115 15 running 192.168.9.31 deb7-32.proxmox.com 122 14 running 192.168.9.36 deb5.proxmox.com |
Enter the container:
1 |
proxmox-ve:~# vzctl enter 108 |
1 |
root@ubuntu-1204:/# nano /etc/init/tty1.conf |
Change/Create the file that it looks exactly like this:
1 2 3 4 5 6 7 8 9 10 11 |
# tty1 - getty # # This service maintains a getty on tty1 from the point the system is # started until it is shut down again. start on stopped rc RUNLEVEL=[2345] stop on runlevel [!2345] respawn exec /sbin/getty -8 38400 tty1 |
Save the changes and shutdown/start the container via Console.