diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index da2538da03a..e442b7b8984 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -12,6 +12,7 @@ > Users must be able to say: “I had this issue, happy to know it's fixed” - [Backup/Mirror] Fix backup report not being sent (PR [#7049](https://github.com/vatesfr/xen-orchestra/pull/7049)) +- [New VM] Only add MBR to cloud-init drive on Windows VMs to avoid booting issues (e.g. with Talos) (PR [#7050](https://github.com/vatesfr/xen-orchestra/pull/7050)) ### Packages to release @@ -30,5 +31,6 @@ - xo-server-backup-reports patch +- xo-server patch diff --git a/packages/xo-server/src/xapi/index.mjs b/packages/xo-server/src/xapi/index.mjs index ee4859b4b5b..9972b71ff08 100644 --- a/packages/xo-server/src/xapi/index.mjs +++ b/packages/xo-server/src/xapi/index.mjs @@ -1328,7 +1328,10 @@ export default class Xapi extends XapiBase { ) ), ]) - buffer = addMbr(buffer) + // only add the MBR for windows VM + if (vm.platform.viridian === 'true') { + buffer = addMbr(buffer) + } const vdi = await this._getOrWaitObject( await this.VDI_create({ name_label: 'XO CloudConfigDrive',