Add call to Agent.SearchForVMMStartup() in Agent.Run()

Changed:
Agent.Run()
This commit is contained in:
Eric Gable
2013-07-01 15:14:04 -07:00
parent bfa26a8c0d
commit b16902d30f
+3
View File
@@ -1989,6 +1989,9 @@ class Agent(Util):
if IsLinux():
SetFileContents("/var/run/waagent.pid", str(os.getpid()) + "\n")
# Determine if we are in VMM. Spawn VMM_STARTUP_SCRIPT_NAME if found.
self.SearchForVMMStartup()
if GetIpv4Address() == None:
Log("Waiting for network.")
while(GetIpv4Address() == None):