diff options
author | Samuel Munilla <smunilla@redhat.com> | 2016-04-21 14:01:02 -0400 |
---|---|---|
committer | Samuel Munilla <smunilla@redhat.com> | 2016-04-21 14:01:02 -0400 |
commit | 2162335b7496591b637b406da1ab2636e047a52f (patch) | |
tree | 79b433d7a21ebbf19e81e035b4ac0d36d15feda2 /utils/src/ooinstall | |
parent | 006e52034ec857aad0cd852bf991a34a14d53a9f (diff) | |
download | openshift-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/src/ooinstall')
-rw-r--r-- | utils/src/ooinstall/cli_installer.py | 2 |
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 |