dom0: remove support for netvm=dom0 from init.d/qubes_netvm

This commit is contained in:
Marek Marczykowski 2011-07-02 19:22:29 +02:00
parent 11a96f70de
commit 4c69dbb7d9

View File

@ -38,13 +38,6 @@ start()
echo WARNING: Qubes NetVM not configured!
echo -n $"Doing nothing:"
elif [ $NETVM = "dom0" ] ; then
echo -n $"Setting up net backend in Dom0:"
echo "NS1=10.137.0.1" > /var/run/qubes/qubes_ns
echo "NS2=10.137.255.254" >> /var/run/qubes/qubes_ns
/usr/lib/qubes/qubes_setup_dnat_to_ns
echo "1" > /proc/sys/net/ipv4/ip_forward || exit 1
else
echo -n $"Starting default NetVM:"
@ -65,9 +58,6 @@ stop()
echo WARNING: Qubes NetVM not configured!
echo -n $"Doing nothing:"
elif [ $NETVM = "dom0" ] ; then
echo -n $"Stopping Qubes networking in Dom0:"
else
echo -n $"Stopping NetVMs:"