list block volumes
[ganeti-extstorage-zfs] / remove
diff --git a/remove b/remove
index 339fad9..e641286 100755 (executable)
--- a/remove
+++ b/remove
@@ -1,5 +1,5 @@
 #!/bin/sh
 
-. /usr/share/ganeti/extstorage/zfs/settings.sh
+. /usr/share/ganeti/extstorage/zfs/defaults.sh
 
-zfs destroy $block/$VOL_NAME
+zfs destroy $EXTP_DESTROY $EXTP_ZFS/$VOL_NAME