mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-10-31 10:59:24 +00:00 
			
		
		
		
	Update homeassistant.sh
This commit is contained in:
		
							parent
							
								
									12c0838fad
								
							
						
					
					
						commit
						9bdbfd8426
					
				| @ -286,7 +286,8 @@ export PCT_OPTIONS=" | |||||||
| bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/create_lxc.sh)" || exit | bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/create_lxc.sh)" || exit | ||||||
| 
 | 
 | ||||||
| STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}') | STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}') | ||||||
| if [ "$STORAGE_TYPE" == "zfspool" ]; then | if [ "$STORAGE_TYPE" == "zfspool" ] && [ "$STORAGE_DRIVER" == "fuse" ]; then | ||||||
|  |   wget -qL -O fuse-overlayfs https://github.com/containers/fuse-overlayfs/releases/download/v1.8.2/fuse-overlayfs-x86_64 | ||||||
|   warn "Some addons may not work due to ZFS not supporting 'fallocate'." |   warn "Some addons may not work due to ZFS not supporting 'fallocate'." | ||||||
| fi | fi | ||||||
| LXC_CONFIG=/etc/pve/lxc/${CTID}.conf | LXC_CONFIG=/etc/pve/lxc/${CTID}.conf | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user