Эх сурвалжийг харах

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

Marek Marczykowski 12 жил өмнө
parent
commit
aa0d767e8a

+ 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