firstboot: use 'service' command to start qubes-netvm

Instead of obsolete init.d scripts.
This commit is contained in:
Marek Marczykowski 2013-01-26 22:40:01 +01:00
parent 74005a240b
commit ca50a4ba4a

View File

@ -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'])