diff options
| author | Rob Crittenden <rcritten@redhat.com> | 2008-05-20 10:17:20 -0400 |
|---|---|---|
| committer | Rob Crittenden <rcritten@redhat.com> | 2008-05-20 15:07:24 -0400 |
| commit | fcd3260955f38bda970b6cba16b72b576d727b63 (patch) | |
| tree | 9b38ab3849eca20c8ecafd98ca6e1d8c937c3916 /ipa-server/ipa-install | |
| parent | fe2f69718f51b932aa0faf7f7d72569bd05b12a1 (diff) | |
Ensure hostnames are lower during installation and when adding service princs
447381
Diffstat (limited to 'ipa-server/ipa-install')
| -rw-r--r-- | ipa-server/ipa-install/ipa-server-install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install index 916527c9e..7bbd1515f 100644 --- a/ipa-server/ipa-install/ipa-server-install +++ b/ipa-server/ipa-install/ipa-server-install @@ -393,11 +393,15 @@ def main(): else: host_name = read_host_name(host_default) + host_name = host_name.lower() + if not options.domain_name: domain_name = read_domain_name(host_name[host_name.find(".")+1:], options.unattended) else: domain_name = options.domain_name + domain_name = domain_name.lower() + # Check we have a public IP that is associated with the hostname ip = resolve_host(host_name) if not ip: |
