firstboot: force salt-minion configuration refresh

It should be done at package installation time (%post script), but
unfortunately it isn't. Probably because of wrong order of scripts calls
(missin Requires(post) dependencies).

QubesOS/qubes-issues#1258
release3.1
Marek Marczykowski-Górecki 9 years ago
parent be64e72d63
commit 0417d5de56
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -215,6 +215,9 @@ class moduleClass(Module):
def configure_qubes(self):
self.show_stage('Executing qubes configuration')
# Refresh minion configuration to make sure all installed formulas are included
self.run_command_in_thread(['qubesctl', 'state.sls', 'config',
'-l', 'quiet', '--out', 'quiet'])
for state in QubesChoice.get_states():
self.run_command_in_thread(['qubesctl', 'top.enable', state,
'saltenv=dom0', '-l', 'quiet', '--out', 'quiet'])

Loading…
Cancel
Save