URL: https://github.com/freeipa/freeipa/pull/207
Title: #207: Provide user hint about IP address in IPA install

mbasti-rh commented:
"""
May I propose following?
```
+    msg_first = "Please provide the IP address to be used for this host name"
+    msg_other = (
+        "Additional IP address (leave blank to continue with the 
installation)")
     while True:
-        ip = ipautil.user_input("Please provide the IP address to be used for 
this host name", allow_empty = True)
+        msg = msg_other if ips else msg_first
+        ip = ipautil.user_input(msg, allow_empty=True)
```

Please use rather `()` than `\` in future to split string
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/207#issuecomment-258210379
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to