Hi, I'm having troubles compressing artifact using "compress" post 
processor. The resulting .zip file has full path inside i.e. 
"/Users/username/project/vm.ova" instead of just vm.ova. When extracting 
such archive, whole directory path is created. This is unwanted behavior.

json part looks like this:

{
  "type": "compress",
  "output": "{{user `OUTPUTDIR`}}/vm.ova.zip",
  "compression_level": 9,
}

I do not see any parameters to pass, like -j for zip to fix that.

Related https://superuser.com/questions/119649/avoid-unwanted-path-in-zip-file

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/0f668384-ed94-418c-905d-e02181d71bde%40googlegroups.com.

Reply via email to