core: not not fail network reconnect on HVM without qrexec installed
This commit is contained in:
parent
3d14fe38e1
commit
cac866ed1b
@ -154,7 +154,10 @@ class QubesNetVm(QubesVm):
|
||||
|
||||
# force frontend to forget about this device
|
||||
# module actually will be loaded back by udev, as soon as network is attached
|
||||
vm.run("modprobe -r xen-netfront xennet", user="root")
|
||||
try:
|
||||
vm.run("modprobe -r xen-netfront xennet", user="root")
|
||||
except:
|
||||
pass
|
||||
|
||||
try:
|
||||
vm.attach_network(wait=False)
|
||||
|
Loading…
Reference in New Issue
Block a user