summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-04-21 14:08:40 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2016-04-21 14:08:40 -0400
commit87f839179c7c0ee17ce52a4865e8bc3b693fce83 (patch)
tree3b7f6238593c18b8868841fb35ebf755cd6b065d
parentf321360a5ea290cc780132c7cc78c1a46dbc84f3 (diff)
parent2162335b7496591b637b406da1ab2636e047a52f (diff)
downloadopenshift-87f839179c7c0ee17ce52a4865e8bc3b693fce83.tar.gz
openshift-87f839179c7c0ee17ce52a4865e8bc3b693fce83.tar.bz2
openshift-87f839179c7c0ee17ce52a4865e8bc3b693fce83.tar.xz
openshift-87f839179c7c0ee17ce52a4865e8bc3b693fce83.zip
Merge pull request #1787 from smunilla/BZ1329165
a-o-i: Correct bug with default storage host
-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 aaf3b7972..3d6b24138 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -315,7 +315,7 @@ Note: Containerized storage hosts are not currently supported.
hostname_or_ip = click.prompt('Enter hostname or IP address',
value_proc=validate_prompt_hostname,
- default=first_master)
+ default=first_master.connect_to)
existing, existing_host = is_host_already_node_or_master(hostname_or_ip, hosts)
if existing and existing_host.node:
existing_host.storage = True