Merge "rockylinux : create machine-id early"

This commit is contained in:
Zuul 2022-08-02 09:27:37 +00:00 committed by Gerrit Code Review
commit b918e7188b

View File

@ -5,3 +5,8 @@ RUN dnf install -y findutils util-linux sudo python3 NetworkManager
RUN systemctl unmask console-getty.service dev-hugepages.mount \ RUN systemctl unmask console-getty.service dev-hugepages.mount \
getty.target sys-fs-fuse-connections.mount systemd-logind.service \ getty.target sys-fs-fuse-connections.mount systemd-logind.service \
systemd-remount-fs.service systemd-remount-fs.service
# /etc/machine-id needs to be populated for /bin/kernel-install to
# correctly copy kernels into /boot. We will clear this out in the
# final image.
RUN systemd-machine-id-setup