Skip to content
Snippets Groups Projects
Commit b91fd9b1 authored by Vladimír Štill's avatar Vladimír Štill
Browse files

iso: Fix services & zsh removal

parent 90995be0
No related branches found
No related tags found
No related merge requests found
...@@ -31,11 +31,11 @@ bind-tools ...@@ -31,11 +31,11 @@ bind-tools
EOF EOF
echo 'iso_publisher="Vladimír Štill <archiso@vstill.eu>"' >> archlive/profiledef.sh echo 'iso_publisher="Vladimír Štill <archiso@vstill.eu>"' >> archlive/profiledef.sh
cat >> archlive/airootfs/root/customize_airootfs.sh <<EOF mkdir -p archlive/airootfs/etc/systemd/system/multi-user.target.wants
systemctl enable dhcpcd.service for s in sshd dhcpcd; do
systemctl enable sshd.service ls -s /usr/lib/systemd/system/$s.service archlive/airootfs/etc/systemd/system/multi-user.target.wants
EOF done
sed -i '/\/usr\/bin\/zsh/d' archlive/airootfs/root/customize_airootfs.sh sed -i 's/zsh/bash/' archlive/airootfs/etc/passwd
mkdir archlive/airootfs/root/.ssh mkdir archlive/airootfs/root/.ssh
cat > archlive/airootfs/root/.ssh/authorized_keys <<EOF cat > archlive/airootfs/root/.ssh/authorized_keys <<EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment