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:
parent
4cf66d2beb
commit
04273acff7
|
@ -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'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue