Skip to content

Instantly share code, notes, and snippets.

View jon-walton's full-sized avatar

Jon Walton jon-walton

  • Hong Kong
  • 04:16 (UTC +08:00)
View GitHub Profile
461 execve("./packer", ["./packer", "build", "template.json"], [/* 17 vars */]) = 0
461 arch_prctl(ARCH_SET_FS, 0x1dadf48) = 0
461 sched_getaffinity(0, 8192, 0x7fffc44b7588) = 4
461 mmap(0xc000000000, 65536, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc000000000
461 munmap(0xc000000000, 65536) = 0
461 mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8556dc0000
461 mmap(0xc820000000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc820000000
461 mmap(0xc81fff8000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc81fff8000
461 mmap(0xc000000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc000000000
461 mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8556db0000
@jon-walton
jon-walton / template.json
Last active August 16, 2016 15:50
packer simple template
{
"builders": [
{
"type": "amazon-ebs",
"region": "ap-southeast-1",
"source_ami": "ami-ea2bf989",
"instance_type": "t2.micro",
"ssh_username": "ubuntu",
"ami_name": "{{timestamp}}",
"ami_users": [
@jon-walton
jon-walton / gist:5db972b9d52e9fbba12bea864bc1444b
Created August 9, 2016 04:25
packer failing on windows subsystem for linux
$ PACKER_LOG=1 packer build template.json
2016/08/09 12:21:40 [INFO] Packer version: 0.10.1
2016/08/09 12:21:40 Packer Target OS/Arch: linux amd64
2016/08/09 12:21:40 Built with Go Version: go1.6.2
2016/08/09 12:21:40 Detected home directory from env var: /home/jon
2016/08/09 12:21:40 Using internal plugin for amazon-chroot
2016/08/09 12:21:40 Using internal plugin for azure-arm
Failed to initialize build 'amazon-ebs': error initializing builder 'amazon-ebs': Unrecognized remote plugin message: Error starting plugin server: listen unix /tmp/packer-plugin090152372: setsockopt: invalid argument
amazon-ebs output will be in this color.