From b91fd9b10cc6ad82497fe37d6b918c7042b4a1b6 Mon Sep 17 00:00:00 2001 From: Vladimir Still <git@vstill.eu> Date: Sat, 19 Feb 2022 21:48:24 +0100 Subject: [PATCH] iso: Fix services & zsh removal --- iso/create | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/iso/create b/iso/create index 1bb17d6..27540dc 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 -- GitLab