[pve-devel] [PATCH 2/2] add zfs filter in hdmove

Alexandre Derumier aderumier at odiso.com
Fri Oct 4 14:45:22 CEST 2013


we don't want to display file format

Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 www/manager/qemu/HDMove.js |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/manager/qemu/HDMove.js b/www/manager/qemu/HDMove.js
index 53a9aae..68d7e92 100644
--- a/www/manager/qemu/HDMove.js
+++ b/www/manager/qemu/HDMove.js
@@ -76,7 +76,9 @@ Ext.define('PVE.window.HDMove', {
                             me.formatsel.setDisabled(true);
                         } else if (rec.data.type === 'lvm' ||
                                    rec.data.type === 'rbd' ||
-                                   rec.data.type === 'sheepdog'
+                                   rec.data.type === 'sheepdog' ||
+                                   rec.data.type === 'zfs'
+
                         ) {
                             me.formatsel.setValue('raw');
                             me.formatsel.setDisabled(true);
-- 
1.7.10.4




More information about the pve-devel mailing list