sleep 30 sec if it is the first time to install cloud-agent in case the network is not coming up

This commit is contained in:
Edison Su 2011-08-29 15:49:10 -07:00
parent 854f81962f
commit 0e3aa3df29

View File

@ -587,6 +587,7 @@ class cloudAgentConfig(serviceCfgBase):
cfo.save()
self.syscfg.svo.stopService("cloud-agent")
bash("sleep 30")
self.syscfg.svo.enableService("cloud-agent")
return True
except: