From 9c8a8d2fb4d317d84ab3c68e574b876d2b04e3bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 13 Jan 2020 05:07:14 +0100 Subject: [PATCH] anaconda-addon: run salt into VMs too If anything (for example post-install script) added states for VMs, apply them too. --- qubes-anaconda-addon/org_qubes_os_initial_setup/ks/qubes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes-anaconda-addon/org_qubes_os_initial_setup/ks/qubes.py b/qubes-anaconda-addon/org_qubes_os_initial_setup/ks/qubes.py index 27e36a9..3bc19bf 100644 --- a/qubes-anaconda-addon/org_qubes_os_initial_setup/ks/qubes.py +++ b/qubes-anaconda-addon/org_qubes_os_initial_setup/ks/qubes.py @@ -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)