From bd7248196f259c7965464db221802b008e14e1c7 Mon Sep 17 00:00:00 2001 From: Edison Su Date: Mon, 29 Aug 2011 15:49:10 -0700 Subject: [PATCH] sleep 30 sec if it is the first time to install cloud-agent in case the network is not coming up --- python/lib/cloudutils/serviceConfig.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/lib/cloudutils/serviceConfig.py b/python/lib/cloudutils/serviceConfig.py index 1acee497968..f5a1ebbf654 100644 --- a/python/lib/cloudutils/serviceConfig.py +++ b/python/lib/cloudutils/serviceConfig.py @@ -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: