Skip to content

Instantly share code, notes, and snippets.

View pcanham's full-sized avatar

Paul Canham pcanham

View GitHub Profile
@pcanham
pcanham / gist:9157b72ebf35d1f1fbf5051f5e208dd6
Created August 2, 2019 13:18
packer example for amazon linux 2
{
"min_packer_version": "1.4.2",
"variables": {
"ami_name": "basebuild-amzn-linux2-{{isotime \"2006-01-02_15:04\"}}",
"aws_region": "eu-west-1",
"aws_profile": "aws-profile",
"aws_tag_COST_CENTER": "COSTCENTER",
"aws_tag_BUSINESS": "IT",
"aws_tag_ENVIRONMENT": "NON-PRODUCTION",
"aws_tag_OWNER": "OWNER-TAG",
@pcanham
pcanham / gist:6cc1a066ce05fd6166b12cd3ade69245
Created August 2, 2019 13:17
hashicorp packer debug log for ticket
2019/08/02 14:17:10 [INFO] Packer version: 1.4.2
2019/08/02 14:17:10 Packer Target OS/Arch: darwin amd64
2019/08/02 14:17:10 Built with Go Version: go1.12.6
2019/08/02 14:17:10 Detected home directory from env var: /Users/pcanham
2019/08/02 14:17:10 Using internal plugin for amazon-ebssurrogate
2019/08/02 14:17:10 Using internal plugin for amazon-instance
2019/08/02 14:17:10 Using internal plugin for docker
2019/08/02 14:17:10 Using internal plugin for openstack
2019/08/02 14:17:10 Using internal plugin for triton
2019/08/02 14:17:10 Using internal plugin for amazon-ebsvolume

Keybase proof

I hereby claim:

  • I am pcanham on github.
  • I am pcanham (https://keybase.io/pcanham) on keybase.
  • I have a public key ASC312bLut6Indni8EoyM6IAxTQH0eS27PzIaM0INaQZdwo

To claim this, I am signing this object:

@pcanham
pcanham / gist:9d1e5ac14601ab8954ab7a99b209d521
Created April 23, 2018 08:33
WIndows 10 1607 WSL Vagrant issues
VAGRANT_DEBUG_LAUNCHER=1 vagrant --version
2018/04/23 09:32:13 launcher: path = /opt/vagrant/bin/vagrant
2018/04/23 09:32:13 launcher: installerDir = /opt/vagrant
2018/04/23 09:32:13 launcher: embeddedDir = /opt/vagrant/embedded
2018/04/23 09:32:13 launcher: gemPaths (initial) = []string{"/opt/vagrant/embedded/gems/2.0.4/gems/vagrant-2.0.4"}
2018/04/23 09:32:13 launcher: gemPaths (final) = []string{"/opt/vagrant/embedded/gems/2.0.4/gems/vagrant-2.0.4"}
2018/04/23 09:32:13 launcher: gemPath = /opt/vagrant/embedded/gems/2.0.4/gems/vagrant-2.0.4
2018/04/23 09:32:13 launcher: env "CFLAGS" = ""
2018/04/23 09:32:13 launcher: env "CPPFLAGS" = ""
2018/04/23 09:32:13 launcher: env "CURL_CA_BUNDLE" = "/opt/vagrant/embedded/cacert.pem"
VirtualBox XPCOM Server 4.3.0 r89960 darwin.amd64 (Oct 15 2013 12:50:16) release log
00:00:00.011369 main Log opened 2013-10-24T20:48:32.338786000Z
00:00:00.011372 main Build Type: release
00:00:00.011385 main OS Product: Darwin
00:00:00.011389 main OS Release: 13.0.0
00:00:00.011394 main OS Version: Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
00:00:00.011522 main DMI Product Name: MacBookAir5,2
00:00:00.011591 main DMI Product Version: 1.0
00:00:00.011608 main Host RAM: 8192MB total, 5792MB available
00:00:00.011614 main Executable: /Applications/VirtualBox.app/Contents/MacOS/VBoxSVC