Merge "Remove machine-id generated from build from subcloud install"
This commit is contained in:
commit
8c2e1c395a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user