diff --git a/kickstart/files/miniboot.cfg b/kickstart/files/miniboot.cfg index 970e46ea..dd707f53 100644 --- a/kickstart/files/miniboot.cfg +++ b/kickstart/files/miniboot.cfg @@ -2819,6 +2819,11 @@ if [ -f "${IMAGE_ROOTFS}/etc/network/interfaces.d/ifcfg-vlan${mgmt_vlan}" ]; the ilog "$(cat "${IMAGE_ROOTFS}/etc/network/interfaces.d/ifcfg-vlan${mgmt_vlan}")" fi +# Clean machine-id file, it needs to be generated after install. +# It must be unique per installation because it is used to generate +# random MACs for SR-IOV VFs, among other resources. +find / -name machine-id | xargs rm -fv + true %end