Merge "Remove machine-id generated from build from subcloud install"

This commit is contained in:
Zuul 2023-09-27 12:58:00 +00:00 committed by Gerrit Code Review
commit 8c2e1c395a
1 changed files with 5 additions and 0 deletions

View File

@ -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