]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Start and enable libvirtd.
authorIan Main <imain@redhat.com>
Fri, 19 Oct 2012 18:30:27 +0000 (11:30 -0700)
committerIan Main <imain@redhat.com>
Fri, 19 Oct 2012 18:30:27 +0000 (11:30 -0700)
Just did a fresh install on fedora 17 and found libvirt was not running
by default which caused nova to not start.  Explicitly enable it.

Change-Id: Id244af934007020d1a9f263dd71f04e5950dd2c5
Signed-off-by: Ian Main <imain@redhat.com>
tools/openstack

index 75030617406600ad244bb8a1f951902c0005e961..bc194ecc705b161d052c7a465474691219217d42 100755 (executable)
@@ -155,6 +155,8 @@ function os_install() {
     sudo yum -q -y install openstack-utils openstack-nova openstack-glance openstack-keystone openstack-dashboard scsi-target-utils qpid-cpp-server mysql-server qpid-cpp-server-daemon
     sudo dd if=/dev/zero of=/var/lib/nova/nova-volumes.img bs=1M seek=20k count=0
     sudo systemctl start mysqld.service
+    sudo systemctl enable libvirtd.service
+    sudo systemctl start libvirtd.service
     sleep 1
     # Configure the databases
     sudo openstack-db --service nova --init $*