No longer need to disable libvirt default network

Starting with the libvirt packages, the default network is no longer
persistent, so trying to disable autostart for it fails. Destroying the
network will still work without that.

Change-Id: Ie9f95d161708cbe8a1d7af2a4518b8c82f491592
This commit is contained in:
Jens Rosenboom 2015-09-24 10:46:14 +02:00
parent 4cf66d2beb
commit 04273acff7
2 changed files with 0 additions and 10 deletions

View File

@ -167,12 +167,6 @@ service 'libvirt-bin' do
action [:enable, :start]
end
execute 'Disabling default libvirt network' do
command 'virsh net-autostart default --disable'
only_if 'virsh net-list | grep -q default'
end
execute 'Deleting default libvirt network' do
command 'virsh net-destroy default'

View File

@ -40,10 +40,6 @@ describe 'openstack-compute::libvirt' do
expect(chef_run).to enable_service 'libvirt-bin'
end
it 'disables default libvirt network' do
expect(chef_run).to run_execute('virsh net-autostart default --disable')
end
it 'deletes default libvirt network' do
expect(chef_run).to run_execute('virsh net-destroy default')
end