summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorSamuel Munilla <smunilla@redhat.com>2016-04-21 14:01:02 -0400
committerSamuel Munilla <smunilla@redhat.com>2016-04-21 14:01:02 -0400
commit2162335b7496591b637b406da1ab2636e047a52f (patch)
tree79b433d7a21ebbf19e81e035b4ac0d36d15feda2 /utils
parent006e52034ec857aad0cd852bf991a34a14d53a9f (diff)
downloadopenshift-2162335b7496591b637b406da1ab2636e047a52f.tar.gz
openshift-2162335b7496591b637b406da1ab2636e047a52f.tar.bz2
openshift-2162335b7496591b637b406da1ab2636e047a52f.tar.xz
openshift-2162335b7496591b637b406da1ab2636e047a52f.zip
a-o-i: Correct bug with default storage host
Fix issue with assigning the Host object to a variable that expects a string.
Diffstat (limited to 'utils')
-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