Update default hostname
This commit is contained in:
parent
dedd95bda8
commit
8d093c9508
1 changed files with 1 additions and 1 deletions
2
archfi
2
archfi
|
@ -869,7 +869,7 @@ archchroot(){
|
||||||
|
|
||||||
|
|
||||||
archsethostname(){
|
archsethostname(){
|
||||||
hostname=$(whiptail --backtitle "$apptitle" --title "$txtsethostname" --inputbox "" 0 0 "localhost" 3>&1 1>&2 2>&3)
|
hostname=$(whiptail --backtitle "$apptitle" --title "$txtsethostname" --inputbox "" 0 0 "archlinux" 3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
clear
|
clear
|
||||||
echo "echo \"$hostname\" > /mnt/etc/hostname"
|
echo "echo \"$hostname\" > /mnt/etc/hostname"
|
||||||
|
|
Loading…
Add table
Reference in a new issue