Post

Home Assistant OS

This script automates the process of creating a Virtual Machine (VM) using the official KVM (qcow2) disk image provided by the Home Assistant Team. It involves finding, downloading, and extracting the image, defining user-defined settings, importing and attaching the disk, setting the boot order, and starting the VM. It supports various storage types, and does not involve any hidden installations. After the script completes, click on the VM, then on the Summary tab to find the VM IP.

Home Assistant OS

Installation

Default install:

1
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/vm/haos-vm.sh)"
CPU: 2 cores RAM: 4096 MB Disk: 32 GB

Notes

The disk must have a minimum size of 32GB and its size cannot be changed during the creation of the VM.
After the script completes, click on the VM, then on the Summary or Console tab to find the VM IP.

Web Interface

Port: 8123

This post is licensed under CC BY 4.0 by the author.