mirror of https://github.com/apache/cloudstack.git
do not restore as well
This commit is contained in:
parent
8475804ae3
commit
e3a7ae38a0
|
|
@ -547,6 +547,8 @@ class securityPolicyConfigUbuntu(serviceCfgBase):
|
|||
or you can manually disable it before starting myCloud")
|
||||
|
||||
def restore(self):
|
||||
return True
|
||||
|
||||
try:
|
||||
self.syscfg.svo.enableService("apparmor")
|
||||
self.syscfg.svo.startService("apparmor")
|
||||
|
|
@ -581,6 +583,8 @@ class securityPolicyConfigRedhat(serviceCfgBase):
|
|||
return True
|
||||
|
||||
def restore(self):
|
||||
return True
|
||||
|
||||
try:
|
||||
bash("setenforce 1")
|
||||
return True
|
||||
|
|
|
|||
Loading…
Reference in New Issue