firstboot: use 'service' command to start qubes-netvm
Instead of obsolete init.d scripts.
This commit is contained in:
parent
74005a240b
commit
ca50a4ba4a
@ -193,7 +193,7 @@ class moduleClass(Module):
|
||||
self.run_command(['/usr/bin/qubes-prefs', '--set', 'default-netvm', 'dom0'])
|
||||
|
||||
def do_start_networking(self):
|
||||
subprocess.check_call(['/etc/init.d/qubes_netvm', 'start'])
|
||||
subprocess.check_call(['/usr/sbin/service', 'qubes_netvm', 'start'])
|
||||
|
||||
def do_configure_template(self):
|
||||
subprocess.check_call(['/bin/mkdir', '-p', '/mnt/template-root'])
|
||||
|
Loading…
Reference in New Issue
Block a user