anaconda-addon: run salt into VMs too

If anything (for example post-install script) added states for VMs,
apply them too.
This commit is contained in:
Marek Marczykowski-Górecki 2020-01-13 05:07:14 +01:00
parent 967c9caa7c
commit 9c8a8d2fb4
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -315,7 +315,7 @@ class QubesData(AddonData):
self.run_command(['qubesctl', 'top.enable', state])
try:
self.run_command(['qubesctl', 'state.highstate'])
self.run_command(['qubesctl', '--all', 'state.highstate'])
# After successful call disable all the states to not leave them
# enabled, to not interfere with later user changes (like assigning
# additional PCI devices)