Skip to content

Commit

Permalink
fixup! fix(xo-server): add mbr for cloud init only for windows VM
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeauchamp committed Sep 28, 2023
1 parent e9867e2 commit f2c26f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xo-server/src/xapi/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ export default class Xapi extends XapiBase {
),
])
// only add the MBR for windows VM
if (vm.platform?.virdian === true) {
if (vm.platform.viridian === 'true') {
buffer = addMbr(buffer)
}
const vdi = await this._getOrWaitObject(
Expand Down

0 comments on commit f2c26f5

Please sign in to comment.