mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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:
parent
854f81962f
commit
0e3aa3df29
@ -587,6 +587,7 @@ class cloudAgentConfig(serviceCfgBase):
|
|||||||
cfo.save()
|
cfo.save()
|
||||||
|
|
||||||
self.syscfg.svo.stopService("cloud-agent")
|
self.syscfg.svo.stopService("cloud-agent")
|
||||||
|
bash("sleep 30")
|
||||||
self.syscfg.svo.enableService("cloud-agent")
|
self.syscfg.svo.enableService("cloud-agent")
|
||||||
return True
|
return True
|
||||||
except:
|
except:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user