parent
8ad02d2d51
commit
28d1539ea6
@ -1434,7 +1434,7 @@ export default class Xapi extends XapiBase {
|
|||||||
'VM.snapshot_with_quiesce',
|
'VM.snapshot_with_quiesce',
|
||||||
vm.$ref,
|
vm.$ref,
|
||||||
nameLabel
|
nameLabel
|
||||||
)
|
).then(extractOpaqueRef)
|
||||||
this.addTag(ref, 'quiesce')::ignoreErrors()
|
this.addTag(ref, 'quiesce')::ignoreErrors()
|
||||||
|
|
||||||
await this._waitObjectState(ref, vm => includes(vm.tags, 'quiesce'))
|
await this._waitObjectState(ref, vm => includes(vm.tags, 'quiesce'))
|
||||||
@ -1455,7 +1455,7 @@ export default class Xapi extends XapiBase {
|
|||||||
'VM.snapshot',
|
'VM.snapshot',
|
||||||
vm.$ref,
|
vm.$ref,
|
||||||
nameLabel
|
nameLabel
|
||||||
)
|
).then(extractOpaqueRef)
|
||||||
}
|
}
|
||||||
// Convert the template to a VM and wait to have receive the up-
|
// Convert the template to a VM and wait to have receive the up-
|
||||||
// to-date object.
|
// to-date object.
|
||||||
|
Loading…
Reference in New Issue
Block a user