diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2015-03-20 14:29:32 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2015-03-23 22:58:56 +0000 |
commit | bf5d8455dff85bfc0b8f22d9171fa22a697cb4cf (patch) | |
tree | 17b4ad1f7bc23747466daf91761c37306c7d9b2e /openstack/etc | |
parent | 1827c6de25c939301d2d7d3415711b65ad1f0ffe (diff) | |
download | definitions-bf5d8455dff85bfc0b8f22d9171fa22a697cb4cf.tar.gz |
Enable nova serial console
This enables serial console access to local nodes from the host machine
by running `novaconsole $VM_NAME` after it has been installed by running
pip install git+http://github.com/larsks/novaconsole.git
Diffstat (limited to 'openstack/etc')
-rw-r--r-- | openstack/etc/nova/nova.conf | 8 | ||||
-rw-r--r-- | openstack/etc/systemd/system/openstack-nova-serialproxy.service | 11 |
2 files changed, 19 insertions, 0 deletions
diff --git a/openstack/etc/nova/nova.conf b/openstack/etc/nova/nova.conf index 30f265aa..ca009273 100644 --- a/openstack/etc/nova/nova.conf +++ b/openstack/etc/nova/nova.conf @@ -634,3 +634,11 @@ allow_resize_to_same_host=True # Actual testing hardware does not support hardware acceleration # so in this step we will configure libvirt to use qemu instead of KVM virt_type=qemu + +################## +# SERIAL CONSOLE # +################## +# Enable serial console proxy for serial console access from the host only +[serial_console] +serialproxy_host=127.0.0.1 +enabled=true diff --git a/openstack/etc/systemd/system/openstack-nova-serialproxy.service b/openstack/etc/systemd/system/openstack-nova-serialproxy.service new file mode 100644 index 00000000..2557dc2b --- /dev/null +++ b/openstack/etc/systemd/system/openstack-nova-serialproxy.service @@ -0,0 +1,11 @@ +[Unit] +Description=OpenStack Nova Serial Proxy +After=syslog.target network.target + +[Service] +Type=simple +User=nova +ExecStart=/usr/bin/nova-serialproxy --config-file /etc/nova/nova.conf + +[Install] +WantedBy=multi-user.target |