2016-10-13 16:47:58 +02:00
|
|
|
# Packer
|
|
|
|
|
|
|
|
## About
|
2020-12-19 09:58:31 +01:00
|
|
|
[Packer](https://www.packer.io/) is a command-line tool to create virtual machines
|
2016-10-13 16:47:58 +02:00
|
|
|
based on a source configuration file.
|
|
|
|
|
|
|
|
## Requirements
|
2020-12-19 09:58:31 +01:00
|
|
|
To use packer you need to download and install it (compare [Install Packer](https://www.packer.io/docs/installation.html)).
|
2016-10-13 16:47:58 +02:00
|
|
|
|
|
|
|
## 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](https://github.com/RIOT-OS/RIOT/tree/master/dist/tools/packer).
|
2020-02-04 16:53:46 +01:00
|
|
|
Note that the build process might take several minutes.
|