summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Munilla <smunilla@redhat.com>2015-11-17 13:36:43 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-17 14:15:20 -0500
commit1f5e29de47f64cf1b24f5caf913777c0588ebf6a (patch)
tree687c07ad0a9d8ffa25bd382e73ae2deeffa444c1
parentcbb7f87e39c98bf4d5e0505ba2884585fc616437 (diff)
downloadopenshift-1f5e29de47f64cf1b24f5caf913777c0588ebf6a.tar.gz
openshift-1f5e29de47f64cf1b24f5caf913777c0588ebf6a.tar.bz2
openshift-1f5e29de47f64cf1b24f5caf913777c0588ebf6a.tar.xz
openshift-1f5e29de47f64cf1b24f5caf913777c0588ebf6a.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 9988577f3..10949763f 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