raspiblitz/alternative.platforms/amd64
2022-01-10 19:02:29 +01:00
..
packer [x86] correct apparmor.d/system_tor (#2876) 2022-01-10 19:02:29 +01:00
raspiblitzHDD.vdi.torrent #1670 vdi image torrent & doc (#1716) 2020-10-26 12:51:00 +01:00
README.md Typo fixes (#2360) 2021-08-27 09:59:21 +02:00

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 (>=1.6.0) to build the base box.

On MacOS you need to install:

  1. brew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  2. packer: brew install packer
  3. vagrant: brew install vagrant
  4. virtualbox: brew cask install virtualbox (maybe re-run after you changed the requested security permission to be successful)
cd alternative.platforms/amd64/packer
packer build raspiblitz.json
vagrant box add --force rotzoll/raspiblitz output/raspiblitz.box
cd ../../..

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

You will need to connect a virtual data drive to the RaspiBlitzVM ... todo so:

  • make sure VM is stopped: use command off when within VM or from outside vagrant halt
  • no open the VirtualBox Manager GUI and use change on the RaspiBlitzVM
  • Go to the mass storage section and add a second disc as primary slave to the already existing controller
  • Use the torrent-downloaded VDI file or create a new dynamic VDI with around 900GB .. choose as storage path for the VDI an external drive if you dont have that much space on your laptop.
  • now start the VM again with vagrant up and vagrangt ssh to run thru the setup process

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/.