From daa26b2e1e953e9e05482a93969c51927ea1591d Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Tue, 30 Jun 2015 16:23:51 +0200 Subject: [PATCH] Created VBDs should be unpluggable. --- src/xapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xapi.js b/src/xapi.js index cbd9fe09e..b3f10d518 100644 --- a/src/xapi.js +++ b/src/xapi.js @@ -694,6 +694,7 @@ export default class Xapi extends XapiBase { } } + // By default a VBD is unpluggable. const vbdRef = await this.call('VBD.create', { bootable, empty: false, @@ -702,7 +703,6 @@ export default class Xapi extends XapiBase { qos_algorithm_params: {}, qos_algorithm_type: '', type, - unpluggable: (type !== 'Disk'), userdevice: String(position), VDI: vdi.$ref, VM: vm.$ref