Skip to content

Instantly share code, notes, and snippets.

@snesbittsea
Created May 27, 2018 23:51
Show Gist options
  • Save snesbittsea/90ab7e950b75d581de54496602d6afdc to your computer and use it in GitHub Desktop.
Save snesbittsea/90ab7e950b75d581de54496602d6afdc to your computer and use it in GitHub Desktop.
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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment