Skip to content

Commit

Permalink
fixed setup
Browse files Browse the repository at this point in the history
  • Loading branch information
gpillon committed Dec 27, 2024
1 parent 332b433 commit f230d38
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/setup-k8s-ph2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ if [ "$CURRENT_IP_CONFIG" = "static" ]; then
echo "Search Domains: $DNS_SEARCH"
echo "IP with CIDR: $IP_CIDR"

# modify_nmcli_connection_if_needed ovs-bridge-int ipv4.method manual
# modify_nmcli_connection_if_needed ovs-bridge-int ipv4.addresses "${IP_CIDR}"
## Temp workaround, need to fix; It works, but ideally is not idempotent
nmcli con modify ovs-bridge-int ipv4.method manual ipv4.addresses "${IP_CIDR}"
modify_nmcli_connection_if_needed ovs-bridge-int ipv4.addresses "${IP_CIDR}"
modify_nmcli_connection_if_needed ovs-bridge-int ipv4.gateway "${GATEWAY}"
modify_nmcli_connection_if_needed ovs-bridge-int ipv4.dns "${DNS}"
modify_nmcli_connection_if_needed ovs-bridge-int ipv4.dns-search "${DNS_SEARCH}"
Expand Down

0 comments on commit f230d38

Please sign in to comment.