firstboot: make it working with both SysV and SystemD init style
This commit is contained in:
parent
6c3b88a24a
commit
63b1a3fa76
@ -83,7 +83,7 @@ if [ "$vms_service" == "yes" ]; then
|
|||||||
umount /mnt/template-root
|
umount /mnt/template-root
|
||||||
done
|
done
|
||||||
echo "-> Starting network..."
|
echo "-> Starting network..."
|
||||||
/etc/init.d/qubes_netvm start
|
service qubes_netvm start
|
||||||
echo "-> Creating DispVM savefile (can take long time)..."
|
echo "-> Creating DispVM savefile (can take long time)..."
|
||||||
su -c "/usr/bin/qvm-create-default-dvm --default-template --default-script" - $user
|
su -c "/usr/bin/qvm-create-default-dvm --default-template --default-script" - $user
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user