Skip to content

Commit

Permalink
Update openstack/profiles/prodstack6
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Bock <[email protected]>
  • Loading branch information
dnegreira and nicolasbock authored Jul 22, 2024
1 parent a88e9e6 commit bd4bee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openstack/profiles/prodstack6
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EXT_SUBNET=subnet_${OS_USERNAME}-psd-extra
CIDR=`openstack subnet show $EXT_SUBNET -c cidr -f value`
# We reserve the last 64 of the /25 to FIP.
# We get the last usable IP on the subnet
FIP_RANGE_LASTIP=`openstack subnet show subnet_stg-reproducer-dnegreira-psd-extra -c allocation_pools -f json | jq -r '.allocation_pools[0].end'`
FIP_RANGE_LASTIP=`openstack subnet show ${EXT_SUBNET} -c allocation_pools -f json | jq -r '.allocation_pools[0].end'`
# Get the first major subnet information, IE, 10.149.123 on a 10.149.123.0/25 subnet
SUBNET_RANGE=${FIP_RANGE_LASTIP%.*}

Expand Down

0 comments on commit bd4bee6

Please sign in to comment.