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
This commit is contained in:
parent
be64e72d63
commit
0417d5de56
@ -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…
Reference in New Issue
Block a user