qubes-anaconda-addon: initialize default-fw-netvm

It should be set to default netvm for proxy VMs: sys-net.

Reported by @adrelanos
Fixes QubesOS/qubes-issues#3190
This commit is contained in:
Marek Marczykowski-Górecki 2017-10-20 02:57:04 +02:00
parent e725ddfe41
commit 3001440fff
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -551,6 +551,7 @@ class QubesOsSpoke(FirstbootOnlySpokeMixIn, NormalSpoke):
self.run_command(['/usr/bin/qvm-prefs', 'sys-firewall', 'netvm', 'sys-net'])
self.run_command(['/usr/bin/qubes-prefs', 'default-netvm', default_netvm])
self.run_command(['/usr/bin/qubes-prefs', 'default-fw-netvm', 'sys-net'])
self.run_command(['/usr/bin/qubes-prefs', 'updatevm', updatevm])
self.run_command(['/usr/bin/qubes-prefs', 'clockvm', 'sys-net'])
self.run_command(['/usr/bin/qvm-start', default_netvm])