appvm qubes_core: remove too strict checking of vm type

This commit is contained in:
Joanna Rutkowska 2010-06-11 18:32:23 +02:00
parent e87186de94
commit bd77f21a39

View File

@ -18,14 +18,6 @@ start()
name=$(/usr/bin/xenstore-read name) name=$(/usr/bin/xenstore-read name)
hostname $name hostname $name
vmtype=$(/usr/bin/xenstore-read qubes_vm_type)
if ! [ "X"$vmtype = XAppVM ] ; then
echo "ERROR: vmtype=$vmtype"
exit 1
fi
ip=$(/usr/bin/xenstore-read qubes_ip) ip=$(/usr/bin/xenstore-read qubes_ip)
netmask=$(/usr/bin/xenstore-read qubes_netmask) netmask=$(/usr/bin/xenstore-read qubes_netmask)
gateway=$(/usr/bin/xenstore-read qubes_gateway) gateway=$(/usr/bin/xenstore-read qubes_gateway)