Ensure systemd-udev is present in centos containers

This is needed to ensure that systemd-tmpfiles-setup service
is present, which is used to create /dev/fuse in centos containers
in other parts of the osa-gluster patch series.

Change-Id: I6a6401debad4937eb9f6a5be31c8cee42d7035cd
This commit is contained in:
Jonathan Rosser 2022-04-14 13:53:40 +01:00
parent 469a0e5fee
commit 8626a26d9a
2 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,9 @@ chage -I -1 -d -1 -m 0 -M 99999 -E -1 root
echo "nameserver {{ lxc_net_address }}" > /etc/resolv.conf
systemctl enable systemd-networkd
systemctl enable systemd-resolved
systemctl enable systemd-tmpfiles-setup
systemctl enable systemd-tmpfiles-setup-dev
systemctl enable systemd-tmpfiles-clean
# Fully disable systemd-logind
systemctl disable systemd-logind

View File

@ -53,4 +53,5 @@ _lxc_cache_distro_packages:
- systemd-networkd
- systemd-resolvd
- systemd-sysv
- systemd-udev
- tzdata