Commits

William Pitcock  committed 130136b

ubuntu: add template for Xen console.

  • Participants
  • Parent commits 876127b

Comments (0)

Files changed (2)

File appliancekit/specs/ubuntu-base.spec

 	{% endif %}
 {% endblock %}
 {% block xentweaks %}
-	{"operation": "render_template", "template": "ubuntu/init-hvc0.tmpl", "target": "/etc/init/hvc0"},
+	{"operation": "render_template", "template": "ubuntu/init-hvc0.tmpl", "target": "/etc/init/hvc0.conf"},
 {% endblock %}

File appliancekit/specs/ubuntu/init-hvc0.tmpl

+# hvc0 - getty
+#
+# This service maintains a getty on hvc0 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 hvc0