rename netvm -> sys-net, firewallvm -> sys-firewall
This commit is contained in:
parent
96b7053d35
commit
56a66e8027
@ -96,14 +96,14 @@ if [ "$vms_template" == "yes" ]; then
|
||||
fi
|
||||
if [ "$vms_service" == "yes" ]; then
|
||||
echo "-> Creating default netvm..."
|
||||
su -c "/usr/bin/qvm-create --net --label red netvm" - $user
|
||||
su -c "/usr/bin/qvm-create --net --label red sys-net" - $user
|
||||
for dev in `/sbin/lspci -mm -n | sed -ne 's/^\([0-9][0-9]:[0-9][0-9].[0-9]\) "02.*/\1/p'`; do
|
||||
su -c "/usr/bin/qvm-pci -a netvm $dev" - $user
|
||||
su -c "/usr/bin/qvm-pci -a sys-net $dev" - $user
|
||||
done
|
||||
echo "-> Creating default firewallvm..."
|
||||
su -c "/usr/bin/qvm-create --proxy --label green firewallvm" - $user
|
||||
su -c "/usr/bin/qvm-prefs --set firewallvm netvm netvm" - $user
|
||||
su -c "/usr/bin/qubes-prefs --set default-netvm firewallvm" - $user
|
||||
su -c "/usr/bin/qvm-create --proxy --label green sys-firewall" - $user
|
||||
su -c "/usr/bin/qvm-prefs --set sys-firewall netvm sys-net" - $user
|
||||
su -c "/usr/bin/qubes-prefs --set default-netvm sys-firewall" - $user
|
||||
echo "-> Starting network..."
|
||||
service qubes-netvm start
|
||||
echo "-> Creating DispVM savefile (can take long time)..."
|
||||
|
@ -33,8 +33,8 @@ _ = lambda x: gettext.ldgettext("firstboot", x)
|
||||
N_ = lambda x: x
|
||||
|
||||
class moduleClass(Module):
|
||||
netvm_name = "netvm"
|
||||
fwvm_name = "firewallvm"
|
||||
netvm_name = "sys-net"
|
||||
fwvm_name = "sys-firewall"
|
||||
|
||||
def __init__(self):
|
||||
Module.__init__(self)
|
||||
|
Loading…
Reference in New Issue
Block a user