mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
Update synology5.sh
This commit is contained in:
parent
75d3b30a26
commit
a6798f6df2
@ -1075,13 +1075,9 @@ if [ "$DISK_TYPE" = "virtual" ]; then
|
||||
|
||||
DISK_NUM=$((i+1))
|
||||
DISK_NAME="vm-${VMID}-disk-${DISK_NUM}${DISK_EXT}"
|
||||
|
||||
SATA_ID="sata$i"
|
||||
|
||||
# Create virtual disk
|
||||
#STORAGE_TYPE=$(pvesm status -storage "$STORAGE" | awk 'NR>1 {print $2}')
|
||||
SATA_ID="sata$i"
|
||||
DISK_NUM=$((i+1))
|
||||
|
||||
if [[ "$STORAGE_TYPE" == "btrfs" || "$STORAGE_TYPE" == "dir" || "$STORAGE_TYPE" == "nfs" ]]; then
|
||||
|
||||
msg_info "Creating virtual disk (format=raw) for $STORAGE_TYPE..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user