diff options
author | Tim Rozet <trozet@redhat.com> | 2016-09-28 17:22:42 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-28 17:22:42 +0000 |
commit | 9239d8f96cdd4dfc014de2d211312c3719eceaca (patch) | |
tree | c61fca329350af8a14fd06d97c04ece040e1b9d4 /ci | |
parent | 523c9cb5bea77f19c909ebce4fa23c9676c4dd6d (diff) | |
parent | d8059095ab25e5939373777330b955075d064ec6 (diff) |
Merge "Removing --flat and network_isolation variables"
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/deploy.sh | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index 24c26d94..edc6062a 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -25,8 +25,6 @@ green=$(tput setaf 2 || echo "") interactive="FALSE" ping_site="8.8.8.8" ntp_server="pool.ntp.org" -net_isolation_enabled="TRUE" -net_isolation_arg="" post_config="TRUE" debug="FALSE" @@ -129,12 +127,6 @@ parse_cmdline() { echo "Executing a Virtual Deployment" shift 1 ;; - --flat ) - net_isolation_enabled="FALSE" - net_isolation_arg="--flat" - echo "Underlay Network Isolation Disabled: using flat configuration" - shift 1 - ;; --no-post-config ) post_config="FALSE" echo "Post install configuration disabled" @@ -173,9 +165,7 @@ parse_cmdline() { done sleep 2 - if [[ ! -z "$NETSETS" && "$net_isolation_enabled" == "FALSE" ]]; then - echo -e "${red}INFO: Single flat network requested. Only admin network settings will be used!${reset}" - elif [[ -z "$NETSETS" ]]; then + if [[ -z "$NETSETS" ]]; then echo -e "${red}ERROR: You must provide a network_settings file with -n.${reset}" exit 1 fi @@ -206,11 +196,6 @@ parse_cmdline() { exit 1 fi - if [[ "$net_isolation_enabled" == "FALSE" && "$post_config" == "TRUE" ]]; then - echo -e "${blue}INFO: Post Install Configuration will be skipped. It is not supported with --flat${reset}" - post_config="FALSE" - fi - } main() { |