From 7625165a0302abe0c55f6a3dfc2c69c8afc1852f Mon Sep 17 00:00:00 2001 From: Martin Magr Date: Thu, 20 Jun 2013 14:31:06 +0200 Subject: [PATCH] Disable starting VMs by libvirt This is Folsom backport. Fixes: rhbz#920704 Conflicts: packstack/puppet/templates/nova_compute.pp Change-Id: I112a994e461bef9b06086b577dbaefb7dc4df32c --- packstack/puppet/templates/nova_compute.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packstack/puppet/templates/nova_compute.pp b/packstack/puppet/templates/nova_compute.pp index 66636946e..3e6a460e3 100644 --- a/packstack/puppet/templates/nova_compute.pp +++ b/packstack/puppet/templates/nova_compute.pp @@ -85,3 +85,10 @@ if($::operatingsystem == 'Fedora') { } } Package['libvirt'] -> Service['messagebus'] -> Service['libvirt'] + +file_line { 'libvirt-guests': + path => '/etc/sysconfig/libvirt-guests', + line => 'ON_BOOT=ignore', + match => '^[\s#]*ON_BOOT=.*', + require => Class['nova::compute::libvirt'] +}