소스 검색

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