Skip to content

Commit

Permalink
OCTOPUS-513: update the static route
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 31, 2023
1 parent d2a5574 commit a2031aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/4_pvs_support/files/static-route.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ systemctl restart dhcpd
for NODE_IP in $(oc get nodes -l kubernetes.io/arch=ppc64le -owide --no-headers=true| awk '{print $6}')
do
echo "Restarting NetworkManager at NODE_IP: ${NODE_IP}"
ssh core@${NODE_IP} sudo systemctl restart NetworkManager
# Dev Note: tried out the following approaches
# 1. systemctl restart NetworkManager - had to reboot the nodes.
# 2. br-ex up to refresh the dhcp lease - refreshed the single device
ssh core@${NODE_IP} sudo nmcli device up br-ex
done

else
Expand Down

0 comments on commit a2031aa

Please sign in to comment.