summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-07-11 19:09:56 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-11 19:09:56 +0000
commitd3e30dfb0671fede8ba867e6559f447e30a2eff3 (patch)
tree6eb174b31f6f5ff967ec57080b6b62ce615168ec /patches
parent76dffcf005706ce725b70ab54c139fbc517b6378 (diff)
parent8010c3b4bf4035dd167bca8656ad36f202e6ec6f (diff)
Merge "transplant.py: Allow SSH on all interfaces."
Diffstat (limited to 'patches')
-rw-r--r--patches/opnfv-fuel/0005-transplant-Generate-extra-interfaces-config-file.patch8
1 files changed, 3 insertions, 5 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 2c8587a5..4313c5ea 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
@@ -1,4 +1,3 @@
-From 7dad9f8350e8563942f4e9ffae595bbfe44e606d Mon Sep 17 00:00:00 2001
From: Josep Puigdemont <josep.puigdemont@enea.com>
Date: Wed, 4 May 2016 17:58:56 +0200
Subject: [PATCH] transplant: Generate extra interfaces config file
@@ -46,7 +45,7 @@ index e57a4fb..9a65cf6 100644
)
ASTUTE_YAML = '/etc/fuel/astute.yaml'
-@@ -35,15 +39,45 @@ def parse_arguments():
+@@ -35,15 +39,47 @@ def parse_arguments():
check_file_exists(dea_file)
return dea_file
@@ -89,6 +88,8 @@ 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
@@ -107,6 +108,3 @@ index e57a4fb..9a65cf6 100644
if __name__ == '__main__':
---
-2.5.5
-