Replace hostname -f with uname -n

This commit is contained in:
Kenjiro Nakayama
2015-04-07 01:22:06 +09:00
committed by Dawn Chen
parent 996ded35ff
commit 2e702b0c61
8 changed files with 8 additions and 14 deletions

View File

@@ -31,7 +31,7 @@ log_level: debug
log_level_logfile: debug
EOF
hostnamef=$(hostname -f)
hostnamef=$(uname -n)
apt-get install -y ipcalc
netmask=$(ipcalc $MINION_IP_RANGE | grep Netmask | awk '{ print $2 }')
network=$(ipcalc $MINION_IP_RANGE | grep Address | awk '{ print $2 }')