fix(xo-server): identifiable names for VM export snapshots

Fixes #2668
This commit is contained in:
Julien Fontanet 2018-02-24 23:00:50 +01:00
parent e0d34b1747
commit dbfbd42d29

View File

@ -717,7 +717,8 @@ export default class Xapi extends XapiBase {
let snapshotRef
if (isVmRunning(vm)) {
host = vm.$resident_on
snapshotRef = (await this._snapshotVm(vm)).$ref
snapshotRef = (await this._snapshotVm(vm, `[XO Export] ${vm.name_label}`))
.$ref
}
const promise = this.getResource('/export/', {