larbs

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 603b54590e7bddedf759e55446536fe9effc42bf
parent 574e4ab15c67bf7f40d1248600a986247e249a08
Author: Luke <luke@lukesmith.xyz>
Date:   Thu,  5 Oct 2017 00:19:56 -0700

Ability to choose computer name

Diffstat:
Mchroot.sh | 4++--
Mdont_run_me.sh | 4++++
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git 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 @@ -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 <<EOF | fdisk /dev/sda @@ -54,6 +56,8 @@ mount /dev/sda1 /mnt/boot mkdir /mnt/home mount /dev/sda4 /mnt/home +cat comp > /mnt/etc/hostname && rm comp + pacstrap /mnt base base-devel genfstab -U /mnt >> /mnt/etc/fstab