diff --git a/chrootinstall.sh b/chrootinstall.sh index 7a569a4..afb33ec 100644 --- a/chrootinstall.sh +++ b/chrootinstall.sh @@ -33,11 +33,11 @@ EOF # User management # root pw -echo 'root:1234' | chpasswd +echo 'root:'${PWD} | chpasswd #create user useradd -m -G wheel jakobu5 # pw change for users -echo 'jakobu5:1234' | chpasswd +echo ${USER}':'${PWD} | chpasswd #installing Linux (was not installed) pacman -S --noconfirm linux mkinitcpio dhcpcd diff --git a/config.conf b/config.conf index 7fa212a..e07598b 100644 --- a/config.conf +++ b/config.conf @@ -3,3 +3,5 @@ readonly HDD="/dev/sda" readonly ROOTPART="/dev/sda2" readonly BOOTPART="/dev/sda1" readonly HOST="archbox" +readonly USER="user1" +readonly PWD="1234"