mirror of https://github.com/apache/cloudstack.git
Merge pull request #1566 from greenqloud/pr-fix-mgmt-setup-master
[CLOUDSTACK-9645] Followup fix for #1162: Add support for not (re)starting server after cloud-setup-management.New version against #1330, opened against master. ``` Moving stop of management in config inside if statement. It will only run the stop command when --no-start is specified. ``` * pr/1566: CLOUDSTACK-9645: Moving stop of management in config inside if statement. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
commit
51aa698010
|
|
@ -137,9 +137,8 @@ class cloudManagementConfig(serviceCfgBase):
|
|||
except:
|
||||
pass
|
||||
|
||||
self.syscfg.svo.stopService("cloudstack-management")
|
||||
|
||||
if self.syscfg.env.noStart == False:
|
||||
self.syscfg.svo.stopService("cloudstack-management")
|
||||
if self.syscfg.svo.enableService("cloudstack-management"):
|
||||
return True
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue