1. prereq

ssh into the proxmox hypervisor as a root user.

2. installation

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/vm/haos-vm.sh)"
Using Advanced Settings
Using HAOS Version: 16.1
  🆔  Virtual Machine ID: 224
  📦  Machine Type: q35
  💾  Disk Size: 32G
  💾  Disk Cache: Write Through
  🏠  Hostname: srv224
  🖥️  CPU Model: Host
  🧠  CPU Cores: 2
  🛠️  RAM Size: 4096
  🌉  Bridge: vmbr0
  🔗  MAC Address: 10:00:5a:46:F5:C3
  🏷️  VLAN: Default
  ⚙️  Interface MTU Size: Default
Start VM when completed: yes
Creating a Homeassistant OS VM using the above advanced settings
  ✔️  Using local-lvm for Storage Location.
  ✔️  Virtual Machine ID is 224.
  ✔️  https://os-artifacts.home-assistant.io/16.1/haos_ova-16.1.qcow2.xz
####################################################################################################################################################### 100.0%
  ✔️  Downloaded haos_ova-16.1.qcow2.xz
  ✔️  Created VM shell
   Decompressing haos_ova-16.1.qcow2.xz to /var/lib/vz/template/tmp//var/lib/vz/template/cache/haos_ova-16.1.qcow2.xz Extracting: 31.7MiB 0:00:01 [31.7MiB/s] Extracting:  809MiB 0:00:08 [98.1MiB/s] [                    <=>                                                                                             ]
  ✔️  Decompressed to /var/lib/vz/template/tmp//var/lib/vz/template/cache/haos_ova-16.1.qcow2.xz
  ✔️  Imported disk (local-lvm:vm-224-disk-0)
   Attaching EFI and root disk   WARNING: Sum of all thin volume sizes (216.00 GiB) exceeds the size of thin pool pve/data (no free space in volume group).
  ✔️  Attached EFI and root disk
  ✔️  Resized disk
  ✔️  Created Homeassistant OS VM (srv224)
  ✔️  Deleted cached image
  ✔️  Started Home Assistant OS VM
  ✔️  Completed Successfully!