-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #155 from dosaboy/add-prodstack-profile
Add prodstack6 profile
- Loading branch information
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash -ex | ||
|
||
# stsstack overrides | ||
[[ -z "$NAMESERVER" ]] && export NAMESERVER="91.189.91.131" | ||
[[ -z "$SWIFT_IP" ]] && export SWIFT_IP="10.140.56.22" | ||
|
||
# Set defaults, if not already set. | ||
[[ -z "$GATEWAY" ]] && export GATEWAY="10.142.35.1" | ||
[[ -z "$CIDR_EXT" ]] && export CIDR_EXT="10.142.35.0/24" | ||
[[ -z "$FIP_RANGE" ]] && export FIP_RANGE="10.142.35.200:10.142.35.254" | ||
[[ -z "$CIDR_PRIV" ]] && export CIDR_PRIV="192.168.21.0/24" | ||
|
||
export UNDERCLOUD_NETWORK_NAME="$(sed -rn "s/.+OS_PROJECT_NAME=(.+)_project/net_\1/p" ~/novarc)" | ||
|
||
./profiles/default $@ |