浏览代码

Merge pull request #1787 from smunilla/BZ1329165

a-o-i: Correct bug with default storage host
Brenton Leanhardt 9 年之前
父节点
当前提交
87f839179c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      utils/src/ooinstall/cli_installer.py

+ 1 - 1
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