Setup - Fix HOSTNAME race condition

This commit is contained in:
Mike Reeves
2019-12-12 21:12:20 -05:00
parent 3b4e371505
commit 9b1f5abc22
2 changed files with 2 additions and 2 deletions

View File

@@ -153,8 +153,6 @@ if (whiptail_you_sure) ; then
RULESETUP=ETOPEN
whiptail_make_changes
set_hostname
HOSTNAME=$(cat /etc/hostname)
MINION_ID=$(echo $HOSTNAME | awk -F. {'print $1'})
clear_master
mkdir -p /nsm
get_filesystem_root