From e40e35d30c1f3577f701237c43aa98f1d7cdd128 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Thu, 25 Mar 2021 15:51:02 +0100 Subject: [PATCH] fix(xo-server): dont provide mac_send when importing OVA VM Fixes xoa-support#3544 --- CHANGELOG.unreleased.md | 1 + packages/xo-server/src/xapi/other-config-template.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 5c855348a..1e18608ca 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -17,6 +17,7 @@ - [Proxy] _Force upgrade_ no longer fails on broken proxy - [Proxy] _Redeploy_ now works when the bound VM is missing - [VM template] Fix confirmation modal doesn't appear on deleting a default template (PR [#5644](https://github.com/vatesfr/xen-orchestra/pull/5644)) +- [OVA VM Import] Fix imported VMs all having the same MAC addresses ### Packages to release diff --git a/packages/xo-server/src/xapi/other-config-template.js b/packages/xo-server/src/xapi/other-config-template.js index 3ccaa4ce7..5100a1bcb 100644 --- a/packages/xo-server/src/xapi/other-config-template.js +++ b/packages/xo-server/src/xapi/other-config-template.js @@ -21,8 +21,9 @@ const OTHER_CONFIG_TEMPLATE = { other_config: { vgpu_pci: '', base_template_name: 'Other install media', - mac_seed: '5e88eb6a-d680-c47f-a94a-028886971ba4', 'install-methods': 'cdrom', + + // mac_seed should not be passed to VM.create so that a new one is generated }, PCI_bus: '', platform: {