Hass.io on Vagrant/VirtualBox for testing & add-on development

This is fantastic! Just started playing with Vagrant and found this is very useful.
Thank you.

:tada: Release v1.1.0

Full Changelog

Added

  • Adds support for USB devices (#19)
  • Adds support for audio devices (#18)
  • Adds instruction on installing nfsd on Ubuntu (#17)

Fixed

  • Fixes RuboCop warnings

Removed

  • Removes VMWare support

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

Thank you! Really appreciate that!

Thank you so much for this!!! I have never been able to get hass.io working on my Mac Mini in VB with a linux VM. Your install guide worked the first time, now I can rebuild my system. I am done with running on PIs, having to replace SD cards all the time.

What is the update / upgrade process for if/when you release new versions?
Will updating destroy the old container?
Is it even necessary to update?

Thanks again!

Big warning here… this has not been created to run a production system on!

I would recommend a manual Virtualbox with Ubuntu and generic linux Hassio installation if you are aiming for that.

Setup a VirtualBox with an Ubuntu installation, next use these commands to install Hass.io:

https://gist.github.com/frenck/32b4f74919ca6b95b30c66f85976ec58

@frenck. Thanks for the warning. I know I am at risk but I have never been able to get that method working on my Mac Mini. I get ubuntu server installed in the VM, and hass.io, but can never browse to the hass.io via web browser. I used bridge mode when setting up the VM, but it does not work for me.

I am too much a nooby to make it work…

:tada: Release v1.2.0

Full Changelog

  • Removes temporary Docker DNS issue workaround
  • Fixes guest IP issue with Vagrant core NFS helper
  • Adds option to set default bridge interface (#22) (@dale3h)
  • Adds option to keep HA config on destroy (#21) (@dale3h)
  • Updated README with configuration options

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck or https://buymeacoff.ee/frenck

I’d like to use an aging 2011 MacBook Air for running hass.io and this Vagrant/VirtualBox setup seems very promising as the basis for a production system. I’ve modified the configuration.yml file to avoid the startup questions and to keep the config files. However, when I install add-ons I don’t see them appear in the addons folder – and that means I have to reinstall them everytime I restart. What am I missing?

Thanks!

Hello, thank you for the VM. It’s a very nice job that allows you to reduce a lot of time. I am trying to share a folder between hassio and windows host but I don’t know how to do it. I would like to store images and movies recorded by motioneye in a folder in windows host system because hassio vm has not enough space and I don’t want to mix data and programs.

Could you explain how to do this?
Regards,

This thing is not for production use and I would strongly advise using it as such.