Skip to content

Instantly share code, notes, and snippets.

View joshmarlow's full-sized avatar

Josh Marlow joshmarlow

View GitHub Profile
@joshmarlow
joshmarlow / build.json
Created October 23, 2018 17:09
My Failing Packer Build
{
"variables": {
"do_token": ""
},
"builders": [
{
"type": "digitalocean",
"api_token": "{{ user `do_token` }}",
"image": "ubuntu-18-04-x64",
"region": "nyc3",
@joshmarlow
joshmarlow / crash.log
Created October 23, 2018 17:10
Crash Log
2018/10/23 13:07:12 [INFO] Packer version: 1.3.1
2018/10/23 13:07:12 Packer Target OS/Arch: linux amd64
2018/10/23 13:07:12 Built with Go Version: go1.11
2018/10/23 13:07:12 Detected home directory from env var: /home/joshmarlow
2018/10/23 13:07:12 Using internal plugin for googlecompute
2018/10/23 13:07:12 Using internal plugin for lxc
2018/10/23 13:07:12 Using internal plugin for profitbricks
2018/10/23 13:07:12 Using internal plugin for amazon-chroot
2018/10/23 13:07:12 Using internal plugin for azure-arm
2018/10/23 13:07:12 Using internal plugin for docker
@joshmarlow
joshmarlow / debug.log
Created October 23, 2018 17:12
Debug output from stderr
panic: interface conversion: interface {} is digitalocean.Config, not *digitalocean.Config
2018/10/23 13:12:41 packer:
2018/10/23 13:12:41 packer: goroutine 91 [running]:
2018/10/23 13:12:41 packer: github.com/hashicorp/packer/builder/digitalocean.(*stepCreateSSHKey).Run(0xc000346080, 0x281cb80, 0xc0001b4380, 0x281a980, 0xc0003841e0, 0x0)
2018/10/23 13:12:41 packer: /Users/azr/go/src/github.com/hashicorp/packer/builder/digitalocean/step_create_ssh_key.go:31 +0xac7
2018/10/23 13:12:41 packer: github.com/hashicorp/packer/helper/multistep.(*BasicRunner).Run(0xc0001b4340, 0x281a980, 0xc0003841e0)
2018/10/23 13:12:41 packer: /Users/azr/go/src/github.com/hashicorp/packer/helper/multistep/basic_runner.go:72 +0x222
2018/10/23 13:12:41 packer: github.com/hashicorp/packer/builder/digitalocean.(*Builder).Run(0xc0004dec00, 0x2822400, 0xc000346040, 0x280ff40, 0xc00019c0e0, 0x281cf40, 0xc00000c008, 0x4bca9c, 0x1e1d9e0, 0x1e1d9e0, ...)
2018/10/23 13:12:41 packer: /Users/azr/go/src/github.com/hashicorp/packer/builder/dig