diff options
| author | Steven Dake <sdake@redhat.com> | 2014-10-07 11:20:26 -0700 |
|---|---|---|
| committer | Steven Dake <sdake@redhat.com> | 2014-10-07 11:20:26 -0700 |
| commit | 727d8d139ce7f7f3fd87547f755b9f48c56a405e (patch) | |
| tree | 19126fba89c3a5b15ad3b00d88dee655fbd4c276 /docker/nova-compute/nova-libvirt/start.sh | |
| parent | 6dbd9c470a829e771455883e9cf68490fd31072f (diff) | |
| download | kolla-727d8d139ce7f7f3fd87547f755b9f48c56a405e.tar.gz kolla-727d8d139ce7f7f3fd87547f755b9f48c56a405e.zip | |
Get to a functional nova-libvirt start
Get a working Dockerfile
Sort out start.sh to run libvirt in a container
Change-Id: Iaafe807b1631ad59fea200a02e46a8cabd6791ca
Diffstat (limited to 'docker/nova-compute/nova-libvirt/start.sh')
| -rw-r--r-- | docker/nova-compute/nova-libvirt/start.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/docker/nova-compute/nova-libvirt/start.sh b/docker/nova-compute/nova-libvirt/start.sh index 0fe90e1a4..64785da7d 100644 --- a/docker/nova-compute/nova-libvirt/start.sh +++ b/docker/nova-compute/nova-libvirt/start.sh @@ -1,2 +1,13 @@ #!/bin/sh -# placeholder for libvirt startup script +/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." +exec /usr/sbin/libvirtd --listen |
