mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-10 19:05:09 +00:00
Remove changing DISK_REF for zfspool mikrotik-routeros.sh (#529)
* Remove changing DISK_REF for zfspool mikrotik-routeros.sh When running the original script using zfspool as storage I got the error: "unable to parse zfs volume name..." Removing the part that cchnages the DISK_REF is disk is to be located on a zfspool has solved this. * Fix in live repo --------- Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
This commit is contained in:
parent
1cb822b34c
commit
1558b0d875
@ -251,11 +251,16 @@ nfs | dir)
|
||||
DISK_REF="$VMID/"
|
||||
DISK_IMPORT="-format qcow2"
|
||||
;;
|
||||
btrfs | zfspool)
|
||||
DISK_EXT=""
|
||||
btrfs)
|
||||
DISK_EXT=".raw"
|
||||
DISK_REF="$VMID/"
|
||||
DISK_IMPORT="-format raw"
|
||||
;;
|
||||
zfspool)
|
||||
DISK_EXT=""
|
||||
DISK_REF=""
|
||||
DISK_IMPORT="-format raw"
|
||||
;;
|
||||
esac
|
||||
|
||||
DISK_VAR="vm-${VMID}-disk-0${DISK_EXT:-}"
|
||||
|
Loading…
Reference in New Issue
Block a user