Skip to content

Commit

Permalink
DNM: a test
Browse files Browse the repository at this point in the history
  • Loading branch information
derekhiggins committed Dec 10, 2024
1 parent 7f450ec commit 543f10c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions 02_configure_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -292,12 +292,10 @@ EOF
sudo nmcli con mod ${BAREMETAL_NETWORK_NAME} ipv6.addr-gen-mode eui64
sudo nmcli con mod ${BAREMETAL_NETWORK_NAME} ipv6.method ignore
else
if sudo nmap --script broadcast-dhcp-discover -e $INT_IF | grep "IP Offered" ; then
if [ "$(ipversion $PROVISIONING_HOST_IP)" == "6" ]; then
sudo nmcli con mod ${BAREMETAL_NETWORK_NAME} ipv6.method auto
else
sudo nmcli con mod ${BAREMETAL_NETWORK_NAME} ipv4.method auto
fi
fi
sudo nmcli con up ${INT_IF}
fi
Expand Down

0 comments on commit 543f10c

Please sign in to comment.