Sysntax um Passwörter zu vergeben an den Umstand angepasst, dass nun nichtmehr innerhalb des arch-chroot gearbeitet wird.

This commit is contained in:
eichehome 2023-07-17 00:04:52 +02:00
parent b10651126b
commit 1c91698dbc

View file

@ -72,7 +72,8 @@ EOF
#echo "127.0.0.1 localhost" > /etc/hosts
#echo "::1 localhost" >> /etc/hosts
#echo "127.0.1.1 ${HOSTNAME_NEW}.localedomain ${HOSTNAME_NEW}" >> /etc/hosts
echo root:"${ROOTPASSWORD}" | chpasswd
arch-chroot /mnt chpasswd <<< "root:${ROOTPASSWORD}"
#echo root:"${ROOTPASSWORD}" | chpasswd
pacstrap /mnt base-devel "${KERNEL}-header"
pacstrap /mnt opendoas firewalld iptables-nft openssh bash-completion man-db man-pages reflector xdg-user-dirs