Proxmox: iSCSI LUN as Shared Storage
While checking out an ASUSTOR NAS (the Lockerstor 6 Gen2), I tested various configurations of storage and storage types. As part of that, I set up…
This post will show you how to get Home Assistant OS running as a VM on a Proxmox VE host in just a couple of minutes.
If you’re new to Virtualisation, Proxmox Virtualization Envionment (Proxmox VE) is a great introduction to the world of Hypervisors. It’s an open source server management platform with an intuitive web interface. You can run Proxmox on a single relatively low-end system (think an old PC, or an Intel NUC) or you can run it on multiple boxes and create your own home computing cluster!
Not only can you run virtual machines, but you can also run Linux Containers (LXC) for lower resource/footprint requirements.
If you’ve not already got Proxmox running, I’d suggest downloading the installer, copying it to a USB stick (using something like Balena Etcher), and following the instructions - install it, play around with it, break some things, then install it again to fix what you’ve broken. I may come back to the installation process in future, but it’s fairly intuitive to get started.
For this post, we’re assuming you already have Proxmox installed and you want to get Home Assistant up and running as a virtual machine.
Once you’ve logged into your Proxmox server’s web interface, you want to find the Shell option. If you have multiple servers in a cluster, click on any server, then shell:

In this window, paste (Right-Click > Paste, or Ctrl + Shift + V) the command below and hit enter:
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/vm/haos-vm.sh)"

Follow the prompts, and if you stick to the simple setup, it’s only a few steps:






http://<ip-of-new-vm>:8123 and follow the Home Assistant setup steps, either to setup a new install, or to restore an existing backup:
That’s it for this setup. It’s a pretty quick way of getting Home Assistant setup on a Proxmox VE host, but the real star of the show is the script from tteck, and I know I’ve already said it once, but I’d highly recommend looking through the other available scripts to see what else you might want to install!
If you notice any issues with this post, please leave a comment to let me know, or message me at @techbits@fosstodon.org.
Share this article:
I really appreciate the simplicity of this install. I am going to check out the additional scripts.
While checking out an ASUSTOR NAS (the Lockerstor 6 Gen2), I tested various configurations of storage and storage types. As part of that, I set up…
Systemctl is a command line utility that is used to manage services on Linux systems, and if you don't regularly manage Linux systems, you might find…
A Log Aggregator or Log Management system allows you to delve into system and software logs for many machines, or create alerts for particular issues…