Some fixes
This commit is contained in:
@@ -174,7 +174,7 @@ create_chroot_script() {
|
||||
#!/bin/sh
|
||||
|
||||
# Discard on use
|
||||
rm $0
|
||||
rm chroot_script.sh
|
||||
|
||||
# Sync clock
|
||||
ln -sf /usr/share/zoneinfo/${REGION} /etc/localtime
|
||||
@@ -212,11 +212,6 @@ echo "${USER}:${USER_PASS}" | chpasswd
|
||||
# Enable sudo for wheel group
|
||||
sed -i '1i%wheel ALL=(ALL) NOPASSWD: ALL' /etc/sudoers
|
||||
|
||||
# Install yay
|
||||
su - ${USER} -c 'git clone https://aur.archlinux.org/yay.git; cd yay; makepkg -si; cd ..; rm -rf yay'
|
||||
|
||||
chsh -s /usr/bin/fish olari
|
||||
|
||||
# Enable services
|
||||
systemctl enable gdm
|
||||
systemctl enable NetworkManager
|
||||
|
||||
Reference in New Issue
Block a user