mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update haos_vm.sh
This commit is contained in:
		
							parent
							
								
									9796811731
								
							
						
					
					
						commit
						6d95370986
					
				| 
						 | 
					@ -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"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue