80e544e install: Call hostnamectl set-hostname only if --hostname option is used

5 files Authored by pspacek 7 years ago, Committed by jcholast 7 years ago,
    install: Call hostnamectl set-hostname only if --hostname option is used
    
    This commit also splits hostname backup and configuration into two separate
    functions. This allows us to backup hostname without setting it at the
    same time.
    
    https://fedorahosted.org/freeipa/ticket/6071
    
    Reviewed-By: Jan Cholasta <jcholast@redhat.com>
    
        
file modified
+2 -1
file modified
+5 -5
file modified
+2 -5
file modified
+2 -11