added user input for hostname change

This commit is contained in:
Yuriy 2024-07-06 17:13:59 -04:00
parent 8b3204518f
commit 5809069e11

View File

@ -165,7 +165,9 @@ fi
if [[ $index -eq 14 ]] && [[ $i == *"TRUE"* ]]; then
echo "Changing Hostname"
hostnamectl set-hostname
echo "Please input new Hostname"
read hostname
hostnamectl set-hostname $hostname
fi
if [[ $index -eq 15 ]] && [[ $i == *"TRUE"* ]]; then