Remove unused hostname variables

https://fedorahosted.org/freeipa/ticket/5794

Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
Martin Basti 2016-04-19 18:46:15 +02:00
parent 30f3d198d0
commit d3ac5125ce

View File

@ -152,8 +152,6 @@ def write_cache(options):
def read_host_name(host_default, no_host_dns=False): def read_host_name(host_default, no_host_dns=False):
host_name = ""
print("Enter the fully qualified domain name of the computer") print("Enter the fully qualified domain name of the computer")
print("on which you're setting up server software. Using the form") print("on which you're setting up server software. Using the form")
print("<hostname>.<domainname>") print("<hostname>.<domainname>")
@ -555,7 +553,6 @@ def install_check(installer):
# utilities just use the hostname as returned by getaddrinfo to set # utilities just use the hostname as returned by getaddrinfo to set
# up some of the standard entries # up some of the standard entries
host_default = ""
if options.host_name: if options.host_name:
host_default = options.host_name host_default = options.host_name
else: else: