Skip to content

Commit

Permalink
Merge pull request #198 from dosaboy:fix-metal
Browse files Browse the repository at this point in the history
Fix non-existant novarc file
  • Loading branch information
nicolasbock authored Jun 10, 2024
2 parents ed14475 + e1db749 commit d27d16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/generate_bundle_base
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ declare -a overlay_opts=()
update_master_opts ${MOD_PASSTHROUGH_OPTS[@]}

vip_start=${MASTER_OPTS[VIP_ADDR_START]}
if [[ -z $vip_start ]]; then
if [[ -z $vip_start ]] && [[ -e ~/novarc ]]; then
# prodstack
cidr=$(source ~/novarc; openstack subnet list --name subnet_${OS_USERNAME} -c Subnet -f value 2>/dev/null)
if [[ -z $cidr ]]; then
Expand Down

0 comments on commit d27d16a

Please sign in to comment.