qubes-anaconda-addon: Disable libvirt-guests service
This service suspends virtual machines at shutdown time and resumes them at start-up time. This unfortunately breaks virtual machines which have PCI devices attached.
This commit is contained in:
parent
1cda66e1ee
commit
679b6468f8
@ -91,7 +91,7 @@ done
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
for service in rdisc kdump; do
|
for service in rdisc kdump libvirt-guests; do
|
||||||
systemctl disable ${service}.service || :
|
systemctl disable ${service}.service || :
|
||||||
systemctl stop ${service}.service || :
|
systemctl stop ${service}.service || :
|
||||||
done
|
done
|
||||||
|
@ -484,7 +484,7 @@ class QubesOsSpoke(FirstbootOnlySpokeMixIn, NormalSpoke):
|
|||||||
def configure_dom0(self):
|
def configure_dom0(self):
|
||||||
self.set_stage("Setting up administration VM (dom0)")
|
self.set_stage("Setting up administration VM (dom0)")
|
||||||
|
|
||||||
for service in [ 'rdisc', 'kdump' ]:
|
for service in [ 'rdisc', 'kdump', 'libvirt-guests' ]:
|
||||||
self.run_command(['systemctl', 'disable', '{}.service'.format(service) ], ignore_failure=True)
|
self.run_command(['systemctl', 'disable', '{}.service'.format(service) ], ignore_failure=True)
|
||||||
self.run_command(['systemctl', 'stop', '{}.service'.format(service) ], ignore_failure=True)
|
self.run_command(['systemctl', 'stop', '{}.service'.format(service) ], ignore_failure=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user