| 1 |
# SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 |
|
| 3 |
# mkosi adds its own ssh units via the --ssh switch so disable the default ones. |
| 4 |
disable ssh.service |
| 5 |
disable sshd.service |
| 6 |
|
| 7 |
# Make sure dbus-broker is started by default on Debian/Kali/Ubuntu. |
| 8 |
enable dbus-broker.service |
| 9 |
|
| 10 |
# Make sure we have networking available. |
| 11 |
enable systemd-networkd.service |
| 12 |
enable systemd-resolved.service |
| 13 |
|
| 14 |
# We install dnf in some images but it's only going to be used rarely, |
| 15 |
# so let's not have dnf create its cache. |
| 16 |
disable dnf-makecache.* |
| 17 |
|
| 18 |
# The rpmdb is already in the right location, don't try to migrate it. |
| 19 |
disable rpmdb-migrate.service |
| 20 |
|
| 21 |
# We have journald to receive audit data so let's make sure we're not running auditd as well |
| 22 |
disable auditd.service |
| 23 |
|
| 24 |
# systemd-timesyncd is not enabled by default in the default systemd preset so enable it here instead. |
| 25 |
enable systemd-timesyncd.service |