fix: drop mac-address annotation from vm template to prevent MAC address reusing (#663) (#669)

related-to: harvester/harvester#9789

(cherry picked from commit 1352246e1e)

Signed-off-by: Tim Liou <tim.liou@suse.com>
Co-authored-by: Tim Liou <tim.liou@suse.com>
This commit is contained in:
mergify[bot]andTim Liou authored and GitHub committed 2026-01-02 18:13:35 +08:00
1 parent beabb34920
commit 56d97260c4
2 files changed
+2

No files matched your search

@@ -254,6 +254,7 @@ export default {
return volume;
});
delete cloneVersionVM.metadata.annotations[HCI_ANNOTATIONS.MAC_ADDRESS];
cloneVersionVM.metadata.annotations[HCI_ANNOTATIONS.VOLUME_CLAIM_TEMPLATE] = JSON.stringify(deleteDataSource);
// Update instance labels, labels and annotations