aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Dake <sdake@redhat.com>2014-10-21 09:56:01 -0700
committerSteven Dake <sdake@redhat.com>2014-10-21 09:57:24 -0700
commit51643d2fea52fc37ae71ebb012b5425278326db3 (patch)
tree8ac9cd4d32c1df03860268874592db72a9a270eb
parent9ad4337c6dfe199e0cf1d6aad2f15abc898f5d45 (diff)
downloadkolla-51643d2fea52fc37ae71ebb012b5425278326db3.tar.gz
kolla-51643d2fea52fc37ae71ebb012b5425278326db3.zip
Add missing libvirt-start.sh
libvirt-start.sh was missing from nova-compute/nova-compute. Add it so libvirt is started from a fresh checkout of the repository. Change-Id: I8b40819629b16e4a63102eb353b3c8682791cf9d
-rwxr-xr-xdocker/nova-compute/nova-compute/libvirt-start.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/docker/nova-compute/nova-compute/libvirt-start.sh b/docker/nova-compute/nova-compute/libvirt-start.sh
new file mode 100755
index 000000000..63e714551
--- /dev/null
+++ b/docker/nova-compute/nova-compute/libvirt-start.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#/bin/chmod 666 /dev/kvm
+
+echo "Starting guests."
+/usr/libexec/libvirt-guests.sh start
+
+echo "Starting virtlockd."
+/usr/sbin/virtlockd &
+
+sleep 3
+
+echo "Starting libvirtd."
+/usr/sbin/libvirtd &