hostname back to origin
This commit is contained in:
parent
012a2ce573
commit
74161ae3cb
1 changed files with 2 additions and 2 deletions
|
|
@ -33,8 +33,8 @@ prepareIpaServer()
|
|||
rlRun "dnf -y install freeipa-server-dns"
|
||||
ORIG_HOSTNAME=${HOSTNAME}
|
||||
# there is longer name at AWS, more than 64char
|
||||
hostnamectl set-hostname ipa.ipa
|
||||
echo '127.0.0.1 ipa.ipa' >> /etc/hosts
|
||||
#hostnamectl set-hostname ipa.ipa
|
||||
#echo '127.0.0.1 ipa.ipa' >> /etc/hosts
|
||||
HOSTNAME=`hostname|tail -n1`
|
||||
# not needed after change ^
|
||||
if echo $HOSTNAME | grep '\.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue