From 2162335b7496591b637b406da1ab2636e047a52f Mon Sep 17 00:00:00 2001 From: Samuel Munilla Date: Thu, 21 Apr 2016 14:01:02 -0400 Subject: a-o-i: Correct bug with default storage host Fix issue with assigning the Host object to a variable that expects a string. --- utils/src/ooinstall/cli_installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3