2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-13 09:09:43 +00:00

Remove CIDR prefix length in ubuntu 20 deployment

This produces invalid configuration for subiquity otherwise.
This commit is contained in:
Jarrod Johnson 2023-08-11 15:01:55 -04:00
parent ca2dcd2dbe
commit 95c5253944

View File

@ -44,7 +44,7 @@ if [ "$ipv4m" = "dhcp" ]; then
IP=dhcp
configure_networking
elif [ "$ipv4m" = "static" ]; then
v4addr=$(grep ^ipv4_address: $netcfgfile)
v4addr=$(grep ^ipv4_address: $netcfgfile| sed -e 's!/.*!!')
v4addr=${v4addr#ipv4_address: }
v4gw=$(grep ^ipv4_gateway: $netcfgfile)
v4gw=${v4gw#ipv4_gateway: }