appvm qubes_core: remove too strict checking of vm type
This commit is contained in:
parent
e87186de94
commit
bd77f21a39
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user