diff --git a/iso/create b/iso/create index 1bb17d6c9b3504be45f32bc5b0a08cf1caf8374d..27540dc1138903fade8de4c61fc80953b159622b 100755 --- a/iso/create +++ b/iso/create @@ -31,11 +31,11 @@ bind-tools EOF echo 'iso_publisher="VladimĂr Ĺ till <archiso@vstill.eu>"' >> archlive/profiledef.sh -cat >> archlive/airootfs/root/customize_airootfs.sh <<EOF -systemctl enable dhcpcd.service -systemctl enable sshd.service -EOF -sed -i '/\/usr\/bin\/zsh/d' archlive/airootfs/root/customize_airootfs.sh +mkdir -p archlive/airootfs/etc/systemd/system/multi-user.target.wants +for s in sshd dhcpcd; do + ls -s /usr/lib/systemd/system/$s.service archlive/airootfs/etc/systemd/system/multi-user.target.wants +done +sed -i 's/zsh/bash/' archlive/airootfs/etc/passwd mkdir archlive/airootfs/root/.ssh cat > archlive/airootfs/root/.ssh/authorized_keys <<EOF