X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=patches%2Fopnfv-fuel%2F0008-deploy-reap.py-Dump-extra-interfaces-information.patch;h=9ed79cc430f4da56e74e4c1c5abdc71984debc59;hb=96a45e70f7b472e76b2b06f81df6ff2203189cc0;hp=7cb759e1c7857bf202c7c65310e669e2fc34c518;hpb=440c1f1321eb06f570207506d212220661bd3a9d;p=armband.git diff --git a/patches/opnfv-fuel/0008-deploy-reap.py-Dump-extra-interfaces-information.patch b/patches/opnfv-fuel/0008-deploy-reap.py-Dump-extra-interfaces-information.patch index 7cb759e1..9ed79cc4 100644 --- a/patches/opnfv-fuel/0008-deploy-reap.py-Dump-extra-interfaces-information.patch +++ b/patches/opnfv-fuel/0008-deploy-reap.py-Dump-extra-interfaces-information.patch @@ -51,7 +51,7 @@ index ed5bc99..9f14e35 100644 from common import ( N, -@@ -248,6 +250,38 @@ class Reap(object): +@@ -248,6 +250,40 @@ class Reap(object): if key not in ['ipaddress', 'netmask', 'dhcp_pool_start', 'dhcp_pool_end', 'ssh_network']: del fuel['ADMIN_NETWORK'][key] @@ -78,6 +78,8 @@ index ed5bc99..9f14e35 100644 + ifcfg_f = ('/etc/sysconfig/network-scripts/ifcfg-%s' % ifcfg_name) + with open(ifcfg_f) as f: + for line in f: ++ if line.startswith('#'): ++ continue + (key, val) = line.split('=') + ifcfg_data[key.lower()] = val.rstrip() +