Marques Johansson 99987c2d56 Add Linode Images builder
Packer Builder for [Linode Images](https://www.linode.com/docs/platform/disk-images/linode-images/)

Adds the following builder:

  * `linode`

Based on https://github.com/linode/packer-builder-linode (MPL/2)
(formerly maintained by @dradtke).  Includes website docs and tests.

Relates to #174, #3131
2019-04-15 20:40:59 -04:00

29 lines
656 B
JSON

{
"variables": {
"linode_token": "{{env `LINODE_TOKEN`}}"
},
"builders": [
{
"type": "linode",
"linode_token": "{{user `linode_token`}}",
"region": "us-central",
"swap_size": 256,
"image": "linode/debian9",
"instance_type": "g6-nanode-1",
"instance_label": "packerbats-minimal-{{timestamp}}",
"image_label": "packerbats-minimal-image-{{timestamp}}",
"image_description": "packerbats",
"ssh_username": "root"
}
],
"provisioners": [
{
"type": "shell",
"inline": ["echo Hello > /root/message.txt"]
}
]
}