Browse Source

vm/netwatcher: watch also for netvm change (#478)

Marek Marczykowski 12 years ago
parent
commit
aa0d767e8a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      network/qubes_netwatcher

+ 2 - 2
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