- Bugfix: with f63a79ee
we removed `script/home-assistant@.service`
systemd unit file, which is used by Vagrant box to start/stop hass
- simplify interaction with Vagrant, provision.sh now is the only
entry point and doesn't need the user to touch/remove files in
order to change provisioner behavior
16 lines
517 B
Ruby
16 lines
517 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
Vagrant.configure(2) do |config|
|
|
config.vm.box = "debian/contrib-jessie64"
|
|
config.vm.synced_folder "../../", "/home-assistant"
|
|
config.vm.synced_folder "./config", "/root/.homeassistant"
|
|
config.vm.network "forwarded_port", guest: 8123, host: 8123
|
|
config.vm.provision "fix-no-tty", type: "shell" do |shell|
|
|
shell.path = "provision.sh"
|
|
end
|
|
config.vm.provider :virtualbox do |vb|
|
|
vb.cpus = 2
|
|
vb.customize ['modifyvm', :id, '--memory', '1024']
|
|
end
|
|
end
|