{
    "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"]
      }
    ]
  }
