瀏覽代碼

Update haos_vm.sh

tteckster 3 年之前
父節點
當前提交
6d95370986
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vm/haos_vm.sh

+ 1 - 1
vm/haos_vm.sh

@@ -134,7 +134,7 @@ case $FILE in
 esac
 esac
 STORAGE_TYPE=$(pvesm status -storage $STORAGE | awk 'NR>1 {print $2}')
 STORAGE_TYPE=$(pvesm status -storage $STORAGE | awk 'NR>1 {print $2}')
 case $STORAGE_TYPE in
 case $STORAGE_TYPE in
-  nfs|dir)
+  btrfs|nfs|dir)
         DISK_EXT=".qcow2"
         DISK_EXT=".qcow2"
         DISK_REF="$VMID/"
         DISK_REF="$VMID/"
         IMPORT_OPT="-format qcow2"
         IMPORT_OPT="-format qcow2"