diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2016-07-12 17:01:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-07-12 17:01:03 +0000 |
commit | 62681fe51f714d429f7b0ab8978e59eac449461f (patch) | |
tree | 15f9a0fb4ad10d31e5cdcf75b1607797779fad55 /patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch | |
parent | eabbbf82217faac0e9563b1372464e797bd71b32 (diff) | |
parent | 34adae647f17b22dc686417acd7539f44615837a (diff) |
Merge "iptables: Move SSH rules to post-scripts."
Diffstat (limited to 'patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch')
-rw-r--r-- | patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch b/patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch index 4313c5ea..1291769e 100644 --- a/patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch +++ b/patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch @@ -45,7 +45,7 @@ index e57a4fb..9a65cf6 100644 ) ASTUTE_YAML = '/etc/fuel/astute.yaml' -@@ -35,15 +39,47 @@ def parse_arguments(): +@@ -35,15 +39,45 @@ def parse_arguments(): check_file_exists(dea_file) return dea_file @@ -88,8 +88,6 @@ index e57a4fb..9a65cf6 100644 + exec_cmd('echo "DEFROUTE=no" >> %s' % admin_ifcfg) + log('At least one interface was reconfigured, restart network manager') + exec_cmd('systemctl restart network') -+ log('At least one interface was reconfigured, accept SSH on all') -+ exec_cmd('iptables -A INPUT -p tcp --dport ssh -j ACCEPT') return astute |