diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2016-07-12 16:17:06 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2016-07-12 16:17:08 +0200 |
commit | 34adae647f17b22dc686417acd7539f44615837a (patch) | |
tree | 7e71a65e8d39e7f5b524d892248e6c448a369105 /patches/fuel-nailgun-agent/0001-ohai-Support-reading-L1-info-from-ethtool.patch | |
parent | d3e30dfb0671fede8ba867e6559f447e30a2eff3 (diff) |
iptables: Move SSH rules to post-scripts.
Previous change [1] introduced the addition of an iptables rule
that was supposed to allow SSH access on all ifaces (not only
admin iface) when additional ifaces are configured.
However, Fuel installer is flushing the rules after transplant
adds our SSH config, overwriting it.
Move iptables SSH config to post-install section, as standalone
script. In order to keep the same behavior, test ifcfg-eth0
(admin interface is expected to be called eth0 by convention)
for "DEFROUTE=no" and only whitelist SSH on all ifaces if it matches.
[1] https://gerrit.opnfv.org/gerrit/#/c/16571/
Change-Id: I086b75461daa62671cad10494fe34acfd77757ae
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'patches/fuel-nailgun-agent/0001-ohai-Support-reading-L1-info-from-ethtool.patch')
0 files changed, 0 insertions, 0 deletions