summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Munilla <smunilla@redhat.com>2015-11-17 13:36:43 -0500
committerSamuel Munilla <smunilla@redhat.com>2015-11-17 13:36:43 -0500
commit11b3651e62b1b6aa458da574fe3948b86359ca80 (patch)
treed71f8c6199e784cb71aa66a257e8da89b79115e0
parentb73a8d6f931390c920fafcc1534a1bb429ddb6a9 (diff)
downloadopenshift-11b3651e62b1b6aa458da574fe3948b86359ca80.tar.gz
openshift-11b3651e62b1b6aa458da574fe3948b86359ca80.tar.bz2
openshift-11b3651e62b1b6aa458da574fe3948b86359ca80.tar.xz
openshift-11b3651e62b1b6aa458da574fe3948b86359ca80.zip
atomic-openshift-installer: Correct single master case
Correct the case where the first host entered is not a master.
-rw-r--r--utils/src/ooinstall/cli_installer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index d9d3dd80c..f34255234 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -111,7 +111,7 @@ http://docs.openshift.com/enterprise/latest/architecture/infrastructure_componen
if not master_set:
is_master = click.confirm('Will this host be an OpenShift Master?')
host_props['master'] = is_master
- master_set = True
+ master_set = is_master
host_props['node'] = True
#TODO: Reenable this option once container installs are out of tech preview