From 603b54590e7bddedf759e55446536fe9effc42bf Mon Sep 17 00:00:00 2001 From: Luke Date: Thu, 5 Oct 2017 00:19:56 -0700 Subject: [PATCH] Ability to choose computer name --- chroot.sh | 4 ++-- dont_run_me.sh | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/chroot.sh b/chroot.sh index 19b0147..13af9c1 100755 --- a/chroot.sh +++ b/chroot.sh @@ -1,4 +1,4 @@ -#Potential variables: timezone, hostname +#Potential variables: timezone, lang and local ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime @@ -8,7 +8,7 @@ echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen echo "en_US ISO-8859-1" >> /etc/locale.gen locale-gen -echo "test" > /etc/hostname +#echo "test" > /etc/hostname pacman -S networkmanager systemctl enable NetworkManager diff --git a/dont_run_me.sh b/dont_run_me.sh index 6150bf3..b141444 100755 --- a/dont_run_me.sh +++ b/dont_run_me.sh @@ -16,6 +16,8 @@ dialog --defaultno --title "DON'T BE A BRAINLET!" --yesno "Have you seen this fi dialog --defaultno --title "DON'T BE A BRAINLET!" --yesno "Do you think I'm meming? Only select yes to DELET your entire /dev/sda and reinstall Arch.\n\nTo stop this script, press no." 10 60 || exit +dialog --no-cancel --inputbox "Enter a name for your computer." 10 60 2> comp + timedatectl set-ntp true cat < /mnt/etc/hostname && rm comp + pacstrap /mnt base base-devel genfstab -U /mnt >> /mnt/etc/fstab