Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion virtualization/vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# vi: set ft=ruby :

Vagrant.configure(2) do |config|
config.vm.box = "debian/contrib-jessie64"
config.vm.box = "debian/contrib-stretch64"
config.vm.synced_folder "../../", "/home-assistant"
config.vm.synced_folder "./config", "/root/.homeassistant"
config.vm.network "forwarded_port", guest: 8123, host: 8123
Expand Down
3 changes: 3 additions & 0 deletions virtualization/vagrant/home-assistant@.service
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ ExecStart=/usr/bin/hass --runner
SendSIGKILL=no
RestartForceExitStatus=100

# on vagrant (vboxfs), disable sendfile https://www.virtualbox.org/ticket/9069
Environment=AIOHTTP_NOSENDFILE=1

[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion virtualization/vagrant/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ main() {
vagrant up --provision; exit ;;
esac
# ...otherwise we assume it's the Vagrant provisioner
if [ $(hostname) != "contrib-jessie" ]; then usage; exit; fi
if [ $(hostname) != "contrib-jessie" ] && [ $(hostname) != "contrib-stretch" ]; then usage; exit; fi
if ! [ -f $SETUP_DONE ]; then setup; fi
if [ -f $RESTART ]; then restart; fi
if [ -f $RUN_TESTS ]; then run_tests; fi
Expand Down