Xen expects keys(other_config) to be snake or it will change them itself!
This commit is contained in:
parent
8839d4f55a
commit
56f78349f8
@ -42,8 +42,8 @@ const debug = createDebug('xo:xapi')
|
||||
|
||||
// ===================================================================
|
||||
|
||||
const TAG_BASE_DELTA = 'xo:deltaBase'
|
||||
const TAG_COPY_SRC = 'xo:copyOf'
|
||||
const TAG_BASE_DELTA = 'xo:base_delta'
|
||||
const TAG_COPY_SRC = 'xo:copy_of'
|
||||
|
||||
// ===================================================================
|
||||
|
||||
|
@ -127,8 +127,8 @@ export default class {
|
||||
targetSr = targetXapi.getObject(targetSr._xapiId)
|
||||
|
||||
// 1. Find the local base for this SR (if any).
|
||||
const tag = `xo:baseDelta:${targetSr.uuid}`
|
||||
let localBaseId = srcVm.other_config[tag]
|
||||
const tag = `xo:base_delta:${targetSr.uuid}`
|
||||
const localBaseId = srcVm.other_config[tag]
|
||||
|
||||
// 2. Copy.
|
||||
const dstVm = await (async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user