1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 01:55:22 +03:00

mkosi: Always disable sshd, dnsmasq and isc-dhcp-server

This commit is contained in:
Daan De Meyer 2023-04-15 18:51:28 +02:00
parent 5739271000
commit 23603bc67f
2 changed files with 6 additions and 5 deletions

View File

@ -0,0 +1,6 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
disable ssh.service
disable sshd.service
disable dnsmasq.service
disable isc-dhcp-server.service
disable isc-dhcp-server6.service

View File

@ -47,11 +47,6 @@ EOF
systemctl mask systemd-hwdb-update.service
fi
# Make sure dnsmasq doesn't start on boot on Debian/Ubuntu.
systemctl disable dnsmasq
# Make sure sshd doesn't start on Opensuse.
echo "disable sshd.service" > /usr/lib/systemd/system-preset/00-mkosi.preset
if [ -n "$IMAGE_ID" ] ; then
sed -n \
-i \