From 1f5e29de47f64cf1b24f5caf913777c0588ebf6a Mon Sep 17 00:00:00 2001
From: Samuel Munilla <smunilla@redhat.com>
Date: Tue, 17 Nov 2015 13:36:43 -0500
Subject: atomic-openshift-installer: Correct single master case

Correct the case where the first host entered is not a master.
---
 utils/src/ooinstall/cli_installer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'utils/src/ooinstall')

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
-- 
cgit v1.2.3