summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
c5a4006)
Bug where default gateway was always being set to the first IP in the
subnet. Now should detect correct public gateway. This only impacts
the default gateway configured on the external neturon
"provider_subnet".
JIRA: APEX-37
Change-Id: I0296fa7149679a0f2eb47f7d65e0011f366c1147
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit
f5032bce67f6b7b8f8c5186b6f64e83bd113338e)
sed -i 's/^.*nat_flag =.*$/ nat_flag = true/' Vagrantfile
echo "${blue}Setting node gateway to be VM Admin IP${reset}"
node_default_gw=${interface_ip_arr[0]}
sed -i 's/^.*nat_flag =.*$/ nat_flag = true/' Vagrantfile
echo "${blue}Setting node gateway to be VM Admin IP${reset}"
node_default_gw=${interface_ip_arr[0]}
- public_gateway=$default_gw
+ public_gateway=$host_default_gw
;;
3)
echo "${red}Default Gateway Detected on Storage Interface!${reset}"
;;
3)
echo "${red}Default Gateway Detected on Storage Interface!${reset}"