raspiblitz/alternative.platforms/amd64/README.md
Alessio Caiazza 1edb9aa4d3
Add vagrant support (#1523)
This will allow building a raspiblitz base image with packer and spin up a development environment in a VM.
2020-09-23 13:28:18 +02:00

984 B
Raw Blame History

RaspiBlitz-on-amd64

This guide was tested on vagrant


This feature is very experimental and not supported.

In order to run raspiblitz on vagrant you need packer to build the base box.

cd alternative.platforms/amd64/packer
packer build raspiblitz.json

vagrant box add --force raspiblitz output/raspiblitz.box
cd ../../..

With the base box built, you can start a development environment with vagrant up and login with vagrant ssh.

Note

Every file in home.admin will be linked to /home/admin inside the VM, if you add a new file you should run vagrant provision to make sure it gets linked inside the VM. Every time you boot the VM, home.admin files will be linked automatically.

The content of the /home/admin/assets folder is not kept in sync at the moment (see #1578). You can still access your development assets file inside the VM in /vagrant/home.admin/assets/.