From 0bad3c3decf5bd036e8793891c65daaf0722a194 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Fri, 9 Mar 2012 01:01:30 +0100 Subject: [PATCH] vm/netwatcher: watch also for netvm change (#478) --- network/qubes_netwatcher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/qubes_netwatcher b/network/qubes_netwatcher index 44d56a07..a0e54fbe 100755 --- a/network/qubes_netwatcher +++ b/network/qubes_netwatcher @@ -24,8 +24,8 @@ while true; do /usr/bin/xenstore-write qubes_netvm_external_ip "$CURR_NETCFG" 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 - /usr/bin/xenstore-watch-qubes qubes_netvm_domid + /usr/bin/xenstore-watch -n 1 qubes_netvm_domid fi done