ABOUT
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.
warningThe disk must have a minimum size of 32GB and its size cannot be changed during the creation of the VM.
infoAfter the script completes, click on the VM, then on the Summary or Console tab to find the VM IP.
INSTALL
Approved local installer
DefaultDebian 13
Approved locally2 CPU4096 MB RAM32 GB disk
Run this command in the Proxmox VE shell. It downloads the immutable approved file, verifies SHA-256, and only then executes it.
( url='https://scripts.francoisvw.com/snapshots/c19711ea1b2526bec67e34be948114e255b5a811/vm/haos-vm.sh'; sha='ef882eb496b37b273bf90056c460470097d50d3dc7b59943ca8e3972bd823d5c'; tmp="$(mktemp)" || exit; curl -fsSL "$url" -o "$tmp" && printf '%s %s\n' "$sha" "$tmp" | sha256sum -c - && bash "$tmp"; rc=$?; rm -f "$tmp"; exit "$rc" )
View approved source ↗Path vm/haos-vm.shSHA-256 ef882eb496b37b273bf90056c460470097d50d3dc7b59943ca8e3972bd823d5c LOCAL CHANGE REVIEW
Approved vs latest fetched source
Sign in with a passkey to inspect pending source changes. Approved content remains public.