{"id":67,"date":"2013-09-19T22:06:59","date_gmt":"2013-09-19T20:06:59","guid":{"rendered":"http:\/\/yves.laedis.ch\/cms\/?p=67"},"modified":"2013-12-29T12:57:04","modified_gmt":"2013-12-29T11:57:04","slug":"proxmox-openvz-ubuntu-activate-console","status":"publish","type":"post","link":"https:\/\/yves.laedis.ch\/cms\/proxmox-openvz-ubuntu-activate-console\/","title":{"rendered":"Proxmox &#8211; OpenVZ Ubuntu activate console"},"content":{"rendered":"<h2>Ubuntu 12.04<\/h2>\n<p>Standartm\u00e4ssig ist die Konsole der OpenVZ VM nicht aktiviert.<\/p>\n<p>Mit folgenden Schritten kann die Ausgabe aktiviert werden.<\/p>\n<p><!--more--><\/p>\n<div>Login via SSH (or use the VNC &#8222;Shell&#8220;) to your Proxmox VE host and &#8218;vzctl enter CTID&#8216; the container:<\/div>\n<p>List all running container:<\/p>\n<pre xml:space=\"preserve\">proxmox-ve:~# vzlist\r\n     CTID      NPROC STATUS    IP_ADDR         HOSTNAME\r\n      108         23 running   192.168.9.20    ubuntu-1204.proxmox.com\r\n      109         18 running   192.168.9.21    centos63-64.proxmox.com\r\n      111         15 running   192.168.9.23    centos5-64.proxmox.com\r\n      114         14 running   192.168.9.30    deb6-32.proxmox.com\r\n      115         15 running   192.168.9.31    deb7-32.proxmox.com\r\n      122         14 running   192.168.9.36    deb5.proxmox.com<\/pre>\n<p>Enter the container:<\/p>\n<pre xml:space=\"preserve\">proxmox-ve:~# vzctl enter 108<\/pre>\n<pre xml:space=\"preserve\">root@ubuntu-1204:\/# nano \/etc\/init\/tty1.conf<\/pre>\n<p>Change\/Create the file that it looks exactly like this:<\/p>\n<pre xml:space=\"preserve\"># tty1 - getty\r\n#\r\n# This service maintains a getty on tty1 from the point the system is\r\n# started until it is shut down again.\r\n\r\nstart on stopped rc RUNLEVEL=[2345]\r\n\r\nstop on runlevel [!2345]\r\n\r\nrespawn\r\nexec \/sbin\/getty -8 38400 tty1<\/pre>\n<p>Save the changes and shutdown\/start the container via Console.<\/p>\n<p>&nbsp;<\/p>\n<p>Quelle:\u00a0<a href=\"http:\/\/pve.proxmox.com\/wiki\/OpenVZ_Console\">http:\/\/pve.proxmox.com\/wiki\/OpenVZ_Console<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu 12.04 Standartm\u00e4ssig ist die Konsole der OpenVZ VM nicht aktiviert. Mit folgenden Schritten kann die Ausgabe aktiviert werden.<\/p><p><a class=\"more-link btn\" href=\"https:\/\/yves.laedis.ch\/cms\/proxmox-openvz-ubuntu-activate-console\/\">Weiterlesen<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4],"tags":[11,10,12],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-computers","tag-openvz","tag-proxmox","tag-ubuntu","item-wrap"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4ixHP-15","jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/yves.laedis.ch\/cms\/wp-json\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yves.laedis.ch\/cms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yves.laedis.ch\/cms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yves.laedis.ch\/cms\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yves.laedis.ch\/cms\/wp-json\/wp\/v2\/comments?post=67"}],"version-history":[{"count":6,"href":"https:\/\/yves.laedis.ch\/cms\/wp-json\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":85,"href":"https:\/\/yves.laedis.ch\/cms\/wp-json\/wp\/v2\/posts\/67\/revisions\/85"}],"wp:attachment":[{"href":"https:\/\/yves.laedis.ch\/cms\/wp-json\/wp\/v2\/media?parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yves.laedis.ch\/cms\/wp-json\/wp\/v2\/categories?post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yves.laedis.ch\/cms\/wp-json\/wp\/v2\/tags?post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}