Remove redundant message

This commit is contained in:
William Wernert
2021-03-18 13:16:45 -04:00
parent 360f0d4dfd
commit 0edf419bcb
2 changed files with 1 additions and 2 deletions

View File

@@ -949,7 +949,7 @@ create_repo() {
}
detect_cloud() {
echo "Testing if setup is running on a cloud instance..." >> "$setup_log" 2>&1
echo "Testing if setup is running on a cloud instance..." | tee -a "$setup_log"
if ( curl --fail -s -m 5 http://169.254.169.254/latest/meta-data/instance-id > /dev/null ) || ( dmidecode -s bios-vendor | grep -q Google > /dev/null); then export is_cloud="true"; fi
}

View File

@@ -363,7 +363,6 @@ percentage=0
fi
} | progress '...'
echo "Checking if setup is running in the cloud..." | tee -a "$setup_log"
detect_cloud
short_name=$(echo "$HOSTNAME" | awk -F. '{print $1}')