Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ntsh: testing #1673

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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