edit hosts, debug
This commit is contained in:
parent
4dc3cf4ad5
commit
50de894b91
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ prepareIpaServer()
|
|||
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
|
||||
HOSTNAME=`hostname|tail -n1`
|
||||
# not needed after change ^
|
||||
if echo $HOSTNAME | grep '\.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue