summaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-04-15 18:51:28 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-04-15 21:06:32 +0200
commit23603bc67f86384a037b287f66b13db6482feafe (patch)
treee8eac7849d1a04f83288b06da5ee0333d658e0d0 /mkosi.postinst
parentmkosi: Update to latest (diff)
downloadsystemd-23603bc67f86384a037b287f66b13db6482feafe.tar.xz
systemd-23603bc67f86384a037b287f66b13db6482feafe.zip
mkosi: Always disable sshd, dnsmasq and isc-dhcp-server
Diffstat (limited to '')
-rwxr-xr-xmkosi.postinst5
1 files changed, 0 insertions, 5 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index b84f034235..5aad60f97d 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -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 \