added user input for hostname change
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user