Change shebang in script from `/bin/bash` to `/usr/bin/env bash`, which fixed problems when `bash` is not available in standard location, e.g., on non-Linux OSes such as FreeBSD.
Packer
About
Packer is a command-line tool to create virtual machines based on a source configuration file.
Requirements
To use packer you need to download and install it (compare Install Packer).
Usage
A simple build of the vagrant box can be done by:
packer build riot.json
This command must be executed in the packer directory RIOT/dist/tools/packer. Note that the build process might take several minutes.