added user input for hostname change
This commit is contained in:
parent
8b3204518f
commit
5809069e11
@ -165,7 +165,9 @@ fi
|
|||||||
|
|
||||||
if [[ $index -eq 14 ]] && [[ $i == *"TRUE"* ]]; then
|
if [[ $index -eq 14 ]] && [[ $i == *"TRUE"* ]]; then
|
||||||
echo "Changing Hostname"
|
echo "Changing Hostname"
|
||||||
hostnamectl set-hostname
|
echo "Please input new Hostname"
|
||||||
|
read hostname
|
||||||
|
hostnamectl set-hostname $hostname
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $index -eq 15 ]] && [[ $i == *"TRUE"* ]]; then
|
if [[ $index -eq 15 ]] && [[ $i == *"TRUE"* ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user