[Kimchi-devel] [PATCH] [Kimchi] Issue #859 - Fix error when adding new disk to VM.
pvital at linux.vnet.ibm.com
pvital at linux.vnet.ibm.com
Tue Mar 8 20:47:56 UTC 2016
From: Paulo Vital <pvital at linux.vnet.ibm.com>
Remove hard-coded reference to the storage pool when attaching a new disk to a
guest.
Signed-off-by: Paulo Vital <pvital at linux.vnet.ibm.com>
---
ui/js/src/kimchi.guest_storage_add.main.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/src/kimchi.guest_storage_add.main.js b/ui/js/src/kimchi.guest_storage_add.main.js
index 55bc3ac..3f416e7 100644
--- a/ui/js/src/kimchi.guest_storage_add.main.js
+++ b/ui/js/src/kimchi.guest_storage_add.main.js
@@ -322,7 +322,7 @@ kimchi.guest_storage_add_main = function() {
}
var createVol = function(settings, addVolSettings) {
- kimchi.createVolumeWithCapacity('default', {
+ kimchi.createVolumeWithCapacity(settings['pool'], {
name: settings['vol'],
format: settings['format'],
capacity: settings['capacity']
--
2.5.0
More information about the Kimchi-devel
mailing list