Skip to content

Commit

Permalink
OPENSHIFTP-237: fix for the iface problem
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
  • Loading branch information
prb112 committed Oct 10, 2024
1 parent ec27305 commit e5ebd4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/2_pvs_prepare/bastion/bastion.tf
Original file line number Diff line number Diff line change
Expand Up @@ -311,15 +311,15 @@ resource "null_resource" "bastion_fix_up_networks" {
for IFNAME in $(ip --json link show | jq -r '.[] | select(.ifname != "lo").ifname')
do
echo "IFNAME: $${IFNAME}"
ip link set $$IFNAME mtu 9000
/sbin/ethtool --offload $$IFNAME tx-checksumming off
ip link set $${IFNAME} mtu 9000
/sbin/ethtool --offload $${IFNAME} tx-checksumming off
echo "IFNAME is updated"
done
EOF
]
}

# Identifies the networks, and picks the iface that is on the private networkfor_each

# Identifies the networks, and picks the iface that is on the private network
provisioner "remote-exec" {
inline = [<<EOF
sudo systemctl unmask NetworkManager
Expand Down

0 comments on commit e5ebd4c

Please sign in to comment.