commit 1d82d29073f9f10ab418dea1a6e6b81de796fa36
Author: Andre Kantek <email address hidden>
Date: Wed Nov 2 12:21:48 2022 -0300
Debian: clean machine-id generated during installation
The Debian installations are generating the same machine-id if using
the same BUILD_ID. This ID is used to generate the value of random
MACs for SRIOV's VF interfaces, since it is the same across the same
BUILD_ID the network cards are generating the exact same MAC if the
NIC is on the same pci-slot across multiple nodes
This change removes the existing files so each installation's systemd
can generate an exclusive value
Test Plan (Debian)
[PASS] install multiple nodes and verify that each one contains an exclusive /etc/machine-id content
[PASS] reboot node to validate that machine-id does not change on subsequent boots
Closes-Bug: 1995505
Signed-off-by: Andre Kantek <email address hidden>
Change-Id: I702d1cc0353d0d19149fdd1ac1ec4bd16e674119
Reviewed: https:/ /review. opendev. org/c/starlingx /metal/ +/863322 /opendev. org/starlingx/ metal/commit/ 1d82d29073f9f10 ab418dea1a6e6b8 1de796fa36
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 1d82d29073f9f10 ab418dea1a6e6b8 1de796fa36
Author: Andre Kantek <email address hidden>
Date: Wed Nov 2 12:21:48 2022 -0300
Debian: clean machine-id generated during installation
The Debian installations are generating the same machine-id if using
the same BUILD_ID. This ID is used to generate the value of random
MACs for SRIOV's VF interfaces, since it is the same across the same
BUILD_ID the network cards are generating the exact same MAC if the
NIC is on the same pci-slot across multiple nodes
This change removes the existing files so each installation's systemd
can generate an exclusive value
Test Plan (Debian)
exclusive /etc/machine-id content
subsequent boots
[PASS] install multiple nodes and verify that each one contains an
[PASS] reboot node to validate that machine-id does not change on
Closes-Bug: 1995505
Signed-off-by: Andre Kantek <email address hidden> 19149fdd1ac1ec4 bd16e674119
Change-Id: I702d1cc0353d0d