From 11b3651e62b1b6aa458da574fe3948b86359ca80 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')

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