Created VBDs should be unpluggable.
This commit is contained in:
parent
18473e6819
commit
daa26b2e1e
@ -694,6 +694,7 @@ export default class Xapi extends XapiBase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// By default a VBD is unpluggable.
|
||||||
const vbdRef = await this.call('VBD.create', {
|
const vbdRef = await this.call('VBD.create', {
|
||||||
bootable,
|
bootable,
|
||||||
empty: false,
|
empty: false,
|
||||||
@ -702,7 +703,6 @@ export default class Xapi extends XapiBase {
|
|||||||
qos_algorithm_params: {},
|
qos_algorithm_params: {},
|
||||||
qos_algorithm_type: '',
|
qos_algorithm_type: '',
|
||||||
type,
|
type,
|
||||||
unpluggable: (type !== 'Disk'),
|
|
||||||
userdevice: String(position),
|
userdevice: String(position),
|
||||||
VDI: vdi.$ref,
|
VDI: vdi.$ref,
|
||||||
VM: vm.$ref
|
VM: vm.$ref
|
||||||
|
Loading…
Reference in New Issue
Block a user