dom0: use full patch for network script
xl (apart from xm) doesn't prefix script with dir.
This commit is contained in:
parent
f5f69c904e
commit
be5e5a98a1
@ -1403,7 +1403,7 @@ class QubesNetVm(QubesVm):
|
|||||||
# Cleanup stale VIFs
|
# Cleanup stale VIFs
|
||||||
vm.cleanup_vifs()
|
vm.cleanup_vifs()
|
||||||
|
|
||||||
xm_cmdline = ["/usr/sbin/xl", "network-attach", vm.name, "script=vif-route-qubes", "ip="+vm.ip, "backend="+self.name ]
|
xm_cmdline = ["/usr/sbin/xl", "network-attach", vm.name, "script=/etc/xen/scripts/vif-route-qubes", "ip="+vm.ip, "backend="+self.name ]
|
||||||
retcode = subprocess.call (xm_cmdline)
|
retcode = subprocess.call (xm_cmdline)
|
||||||
if retcode != 0:
|
if retcode != 0:
|
||||||
print ("WARNING: Cannot attach to network to '{0}'!".format(vm.name))
|
print ("WARNING: Cannot attach to network to '{0}'!".format(vm.name))
|
||||||
|
Loading…
Reference in New Issue
Block a user