[Freeipa-devel] [freeipa PR#207][comment] Provide user hint about IP address in IPA install

mbasti-rh freeipa-github-notification at redhat.com
Thu Nov 3 17:15:27 UTC 2016


  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


More information about the Freeipa-devel mailing list