start agent after template download is done

This commit is contained in:
Edison Su 2011-06-15 11:04:13 -04:00
parent ce4071beff
commit 8a887c0b77

View File

@ -548,8 +548,8 @@ class cloudAgentConfig(serviceCfgBase):
cfo.addEntry("resource", "com.cloud.storage.resource.LocalSecondaryStorageResource|com.cloud.agent.resource.computing.CloudZonesComputingResource")
cfo.save()
self.syscfg.svo.stopService("cloud-agent")
self.syscfg.svo.enableService("cloud-agent")
#self.syscfg.svo.stopService("cloud-agent")
#self.syscfg.svo.enableService("cloud-agent")
return True
except:
raise