Skip to content

Commit

Permalink
fix neutron configuration for pike
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Stokes <battlemidget@users.noreply.github.com>
  • Loading branch information
Adam Stokes committed Sep 20, 2017
1 parent 87d9861 commit 0a309c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions openstack-novalxd/steps/share/neutron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ fi

if ! neutron subnet-show ext-subnet > /dev/null 2>&1; then
debug "adding ext-subnet"
if ! neutron subnet-create --name ext-subnet ext-net "$LXD_NETWORK" \
if ! neutron subnet-create --name ext-subnet \
--gateway "$LXD_GATEWAY" --disable-dhcp \
--allocation-pool start="$LXD_DHCP_RANGE_START",end="$LXD_DHCP_RANGE_STOP" > /dev/null 2>&1; then
--allocation-pool start="$LXD_DHCP_RANGE_START",end="$LXD_DHCP_RANGE_STOP" ext-net "$LXD_NETWORK"; then
debug "could not subnet-create ext-subnet"
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion openstack-novalxd/steps/step-04_neutron
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tmpfile=$(mktemp)

$(scriptPath)/share/novarc > "$tmpfile"

LXD_NETWORK=$(getKey "lxd-network-name")
LXD_NETWORK=$(getKey "lxd-network")
LXD_GATEWAY=$(getKey "lxd-gateway")
LXD_DHCP_RANGE_START=$(getKey "lxd-network-dhcp-range-start")
LXD_DHCP_RANGE_STOP=$(getKey "lxd-network-dhcp-range-stop")
Expand Down

0 comments on commit 0a309c0

Please sign in to comment.