Skip to content

Instantly share code, notes, and snippets.

View snesbittsea's full-sized avatar

Steve Nesbitt snesbittsea

  • Palmer Lake, CO
  • 08:02 (UTC -06:00)
View GitHub Profile
@snesbittsea
snesbittsea / gist:32d9df48ea13b47282d6189bb36f8f77
Created June 13, 2018 15:54
Packer Template causing 1.2.4 Crash
{
"_ANCHORS": [
{
"boot_command": [
"<esc><f6><esc>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
@snesbittsea
snesbittsea / gist:c1fca8c1599f9bddbb2c6a0e9d5a708d
Created June 1, 2018 16:51
Packer-Build Crash with Packer 2.4
```PACKER_LOG=1 ./script/vbox.sh -debug -var headless=true template/ubuntu/bionic/base.json | tee out
2018/06/01 09:07:43 [INFO] Packer version: 1.2.4
2018/06/01 09:07:43 Packer Target OS/Arch: linux amd64
2018/06/01 09:07:43 Built with Go Version: go1.10.1
2018/06/01 09:07:43 Detected home directory from env var: /home/FUZZBUTT/snesbitt
2018/06/01 09:07:43 Using internal plugin for parallels-iso
2018/06/01 09:07:43 Using internal plugin for lxc
2018/06/01 09:07:43 Using internal plugin for ncloud
2018/06/01 09:07:43 Using internal plugin for oracle-oci
2018/06/01 09:07:43 Using internal plugin for profitbricks
@snesbittsea
snesbittsea / vagrant_error.md
Created May 27, 2018 23:51
Vagrant post-processor tar fails if user name is not GnuTar format compatible

``==> vbox (vagrant): Creating Vagrant box for 'virtualbox' provider vbox (vagrant): Unpacking OVA: build/2018-05-26-18-12-14/base-bionic.ova vbox (vagrant): Renaming the OVF to box.ovf... vbox (vagrant): Using custom Vagrantfile: source/ubuntu/bionic/base.vagrant vbox (vagrant): Compressing: Vagrantfile ==> vbox: Running post-processor: shell-local ==> vbox (shell-local): Post processing with local shell script: /tmp/packer-shell679910228 Build 'vbox' errored: 1 error(s) occurred:

Post-processor failed: archive/tar: cannot encode header: Format specifies GNU; and GNU cannot encode Uname="snesbitt@fuzzbutt.aussieswithtails.com"`

Vagrant Snippet
---------------
```json
"post-processors": [
{
"compression_level": 6,
"keep_input_artifact": true,
"only": [
"vbox",
"qemu"