Run Home Assistant on VMware ESXi as Debian VM

Updated: December 2, 2022. Debian 10 is not supported any more for running Home Assistant Supervised. For a supported configuration, you need Debian 11 (Bullseye). The steps in this blog are updated to install Home Assistant as Debian 11 VM in VMware ESXi.

Home Assistant Supervised provides the full Home Assistant experience on a regular operating system. The Supervisor is not just an application but it is a full appliance that manages the whole system. Home Assistant supervised is only supported on a Debian 11 (Bullseye) Operating System. Below are the steps described on how to install Home Assistant Supervised as Virtual Machine on a Debian 11 (Bullseye) Operating System in VMware ESXi.

Configure the Virtual Machine hardware specifications

  • Download the Debian-11.5.0-amd64.netinst.iso, Link
  • Make a connection to the ESXi host: https://<ip-address>/ui
  • Upload the Debian ISO to a datastore
  • Create a new virtual machine with the following specifications:
    • Name: <Name of the VM>
    • Compatibility: Default (ESXi  8 and later)
    • Guest OS family: Linux
    • Guest OS version: Debian GNU/Linux 11 (64-bit)
    • Storage: datastore with more than 30 GB of free space
    • CPUs: 2
    • Memory: 2048 MB
    • Hard disk 1: 40 GB
      • Disk Provisioning: Thin provisioned
    • SCSI Controller 0: VMware Paravirtual
    • USB controller 1: USB 2.0 or 3.0 depending on the ESXi hardware
    • Network adapter 1: Select the port group
      • Adapter type: VMXNET 3
    • CD/DVD Drive 1: Datastore ISO file
      • Browse to the Debian ISO
      • Connect at Power: checked
    • Video Card: Default settings
    • Next
    • Finish
    • Power on the VM
    • Open a console session

The VM is now configured with a paravirtualized SCSI controller (PVSCSI) and VMXNET3 Virtual NIC.

Install Debian 11 (Bullseye) as VM on VMware ESXi

  • Installer Menu: Select Install
  • Language: English
  • Location:  Other, Europe, Netherlands
  • Locales:  United States
  • Keymap:  American English
  • Enter the hostname: ha-deb11
  • Domain name: <domain name>
  • Root password: <Enter the root password>
  • Full Name for the user:<Full name>
  • User name: <username>
  • Choose Password for the new user: <Enter the root password>
  • Partition Disks: Guided – Use the entire disk and set up LVM
    • Select disk to partition: SCSI1 (0,0,0) – 32,2 GB VMware Virtual Disk
    • Partition scheme: All files in one partition (recommended for new users)
    • Write the changes to disk and configure LVM: Yes
    • Amount of volume group to use for guided partitioning: 42.4 GB
    • Select: Continue
    • Write changes to disks: Yes
  • Scan another CD or DVD: No
  • Debian archive mirror country: Select the archive mirror country nearby. I select The Netherlands
  • Debian archive mirror:
  • HTTP Proxy: Leave empty and select continue
  • Participate in the package usage survey: No
  • Software selection:
    • Check: SSH server and standard system utilities
    • Uncheck: Debian desktop environment
    • Uncheck: GNOME
  • Install the GRUB boot loader to the master boot record. Yes
  • Device for boot loader installation? /dev/sda
  • Installation is complete.
    • Finish the installation: Continue

The Debian VM will be rebooted and is ready for use. After the installation, open a console session and log in.

Enable Sudo on the user account

apt install sudo
nano /etc/sudoers

Under the “User privilege specification” add the user account created during the Debian installation. Replace the <username> with the name of the user you entered in the installation phase.

username ALL=(ALL:ALL) ALL

Press CTRL + X to save the file. Now it is possible to use the sudo account under your username.

sudo -i

Update all Debian packages

apt update &amp;amp;&amp;amp; apt upgrade -y

Find the IPv4 address of the VM by using the command:

VMware Tools is included in the Debian distribution so you don’t need to install VMware Tools package. Find the IP address by using the following command:

ifconfig ens192

Look for the inet address. That’s the IP address.

Make an SSH connection to the VM

Connect using SSH to the IP address of the Debian VM by using Putty for example.

sudo -i

Install the required packages

apt-get install \
apparmor \
jq \
wget \
curl \
udisks2 \
libglib2.0-bin \
network-manager \
dbus \
systemd-journal-remote -y

Install Docker-CE

curl -fsSL | sh

Install the latest Agent

The latest agents can be found here:

Replace the “os-agent_1.4.1_linux_x86_64.deb” with the agent version you downloaded.

sudo dpkg -i os-agent_1.4.1_linux_x86_64.deb

You can check if the installation was successful by running the following command.

gdbus introspect --system --dest io.hass.os --object-path /io/hass/os

This should not return an error.

Install Home Assistant Supervised Debian Package

dpkg -i homeassistant-supervised.deb

A reboot of the Debian VM is necessary.


After the reboot, you need to wait (between 1 and 20 minutes) for the initial Home Assistant configuration.  With the command “docker ps” you can view the status of the Docker containers. The status must be Up xx minutes.

Connect to http://<IP address>:8123

Home Assistant Supervised is now installed and running as a Virtual Machine on VMware ESXi. You can check the system health by browsing to:

Settings -> System -> Repairs -> 3 dots -> System Information

More information:

GitHub – home-assistant/supervised-installer: Installer for a generic Linux system


3 thoughts on “Run Home Assistant on VMware ESXi as Debian VM”

Leave a Comment