This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installs Home Assistant on VirtualBox following https://www.home-assistant.io/installation/linux | |
# Install VirtualBox | |
sudo apt-get -y install virtualbox | |
# Create a new VM | |
VBoxManage createvm --name homeassistant --register | |
# Select OS type "Other Linux (64-bit)" | |
VBoxManage modifyvm homeassistant --ostype Linux_64 | |
# Set RAM to 6GB (modify to your needs, TODO: make this an option, default value 2GB), video memory to 16MB (TODO: make this an option, default value 16MB) | |
VBoxManage modifyvm homeassistant --memory 6144 --vram 16 | |
# 2 vCPUs (TODO: make this an option, default value 2) |