]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
common/tasks/rhel-entitlements.yml: regenerate machine-id 740/head
authorDan Mick <dmick@redhat.com>
Tue, 16 May 2023 01:38:17 +0000 (18:38 -0700)
committerDan Mick <dmick@redhat.com>
Tue, 27 Jun 2023 20:40:02 +0000 (13:40 -0700)
commitf55c302e97e54846329284f2e233f150c675b1ca
tree3100a417cc395541bf1e5bf37b149eabccbfc897
parent9b03177d4c1d65d27ca8956c290e9430272aad9f
common/tasks/rhel-entitlements.yml: regenerate machine-id

We can't leave /etc/machine-id blank; it breaks things, one of
which is the kernel install, which runs a postinstall script to update
/boot/loader/entries, which does nothing (silently) if there's
nothing in /etc/machine-id.  Since it can come from the dbus id,
and does by default, and there's a command to generate the dbus
id, generate both, dbus first.  This fixes the kernel postinstall.
I don't know if there should be any correlation between
machine-id and the subscription-manager/katello IDs.

Signed-off-by: Dan Mick <dmick@redhat.com>
roles/common/tasks/rhel-entitlements.yml