vm/netwatcher: watch also for netvm change (#478)
This commit is contained in:
parent
8170a6d675
commit
0bad3c3dec
@ -24,8 +24,8 @@ while true; do
|
|||||||
/usr/bin/xenstore-write qubes_netvm_external_ip "$CURR_NETCFG"
|
/usr/bin/xenstore-write qubes_netvm_external_ip "$CURR_NETCFG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/usr/bin/xenstore-watch-qubes /local/domain/$NET_DOMID/qubes_netvm_external_ip
|
/usr/bin/xenstore-watch -n 2 /local/domain/$NET_DOMID/qubes_netvm_external_ip qubes_netvm_domid
|
||||||
else
|
else
|
||||||
/usr/bin/xenstore-watch-qubes qubes_netvm_domid
|
/usr/bin/xenstore-watch -n 1 qubes_netvm_domid
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user