summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Williamson <awilliam@redhat.com>2017-09-09 11:14:55 -0700
committerAdam Williamson <awilliam@redhat.com>2017-09-09 11:14:55 -0700
commitcac1fb41ab9eedc3e41ba718dea6114f2ef12d39 (patch)
tree765e156e0c11dd92fbd40d34b0c7fbad76599a8f
parentf7a9424a42262f7d725645dab7db8e45c160bd54 (diff)
downloadansible-cac1fb41ab9eedc3e41ba718dea6114f2ef12d39.tar.gz
ansible-cac1fb41ab9eedc3e41ba718dea6114f2ef12d39.tar.xz
ansible-cac1fb41ab9eedc3e41ba718dea6114f2ef12d39.zip
openqa tap workers: allow masquerade on eth2 also, for ppc64
Signed-off-by: Adam Williamson <awilliam@redhat.com>
-rw-r--r--roles/base/templates/iptables/iptables.openqa-tap-workers3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/base/templates/iptables/iptables.openqa-tap-workers b/roles/base/templates/iptables/iptables.openqa-tap-workers
index bf4618d29..a9d104010 100644
--- a/roles/base/templates/iptables/iptables.openqa-tap-workers
+++ b/roles/base/templates/iptables/iptables.openqa-tap-workers
@@ -118,5 +118,8 @@ COMMIT
*nat
# masquerade for openQA openvswitch workers to reach the outside
+# eth0 is the active interface on the x86_64 tap worker hosts,
+# eth2 is the active interface on the ppc64 tap worker host
-A POSTROUTING -o eth0 -j MASQUERADE
+-A POSTROUTING -o eth2 -j MASQUERADE
COMMIT