diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-04-25 13:50:21 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-04-25 17:06:42 +0200 |
commit | d74ebb175aeb7cb83d1a39ad061f1e01924739ff (patch) | |
tree | 5b5b3d9f0ef49fbf8917cbfcda586a403bddfca3 | |
parent | portable: Don't fail if /etc/resolv.conf doesn't exist (diff) | |
download | systemd-d74ebb175aeb7cb83d1a39ad061f1e01924739ff.tar.xz systemd-d74ebb175aeb7cb83d1a39ad061f1e01924739ff.zip |
mkosi: Make sure systemd-resolved is started on boot
-rw-r--r-- | mkosi.images/system/mkosi.extra/usr/lib/systemd/system-preset/00-mkosi.preset | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mkosi.images/system/mkosi.extra/usr/lib/systemd/system-preset/00-mkosi.preset b/mkosi.images/system/mkosi.extra/usr/lib/systemd/system-preset/00-mkosi.preset index 070af4c67a..fb82f3608f 100644 --- a/mkosi.images/system/mkosi.extra/usr/lib/systemd/system-preset/00-mkosi.preset +++ b/mkosi.images/system/mkosi.extra/usr/lib/systemd/system-preset/00-mkosi.preset @@ -19,6 +19,9 @@ enable dbus-broker.service enable systemd-networkd.service enable systemd-networkd-wait-online.service +# systemd-resolved is disable by default on CentOS so make sure it is enabled. +enable systemd-resolved.service + # We install dnf in some images but it's only going to be used rarely, # so let's not have dnf create its cache. disable dnf-makecache.* |