Commit Graph

125 Commits

Author SHA1 Message Date
Patrick Double 066b364873 Remove packer.docker from vagrant post processor builtins 2018-07-17 15:07:22 -05:00
Patrick Double a301145ae1 Allow docker build as input to vagrant, docs 2018-07-17 09:41:18 -05:00
Patrick Double 1781d352a5 Add Vagrantfile fragment with docker tag specified 2018-07-16 15:35:02 -05:00
Patrick Double e7fc651f60 First cut at vagrant post-processor for docker 2018-07-06 17:11:24 -05:00
Matthew Hooker 788418cff2
Add unit test to show that we handle tars safely 2018-05-25 12:13:59 -07:00
Matthew Hooker c6299972b9
s/boot_command/bootcommand/ 2018-04-19 14:26:31 -07:00
Matthew Hooker 60986ae682
better comment about why gnu tar 2018-03-29 16:18:55 -07:00
Matthew Hooker 742e366367
conditionally set tar header on go >= 1.10 2018-03-29 14:21:54 -07:00
Stefan Scherer 832f390733
Set tar header format to tar.FormatGNU 2018-03-29 22:46:59 +02:00
Josh Soref c312493c38 spelling: available 2018-03-13 07:13:24 +00:00
Graham Hayes 91d60d6b81
Add LXC to vagrant post-processor 2018-03-07 15:17:52 +00:00
Edouard BONLIEU ae18995ca1
Fix builder id 2018-02-08 12:10:10 -08:00
Edouard BONLIEU 7e36cfcff1
Add Scaleway builder 2018-02-08 12:09:24 -08:00
SwampDragons 074ddbea8e
Merge pull request #5732 from KohlsTechnology/vagrant_google
Add vagrant post-processor support for Google
2018-01-31 15:49:02 -08:00
Matthew Hooker ebe995c0ff
run goimports 2018-01-22 17:21:10 -08:00
Sean Malloy e8bac9f4c8 Add unit tests for new vagrant Google post-processor 2017-12-23 23:46:30 -06:00
Sean Malloy e47bd65986 Add vagrant post-processor support for Google
Add the ability to create Google vagrant boxes
using the vagrant post-processor. The Google
plugin for vagrant is linked below.

https://github.com/mitchellh/vagrant-google
2017-12-23 00:13:17 -06:00
Joe Ferguson 5c2f758053 🎨 Fix typo in "copyed" -> "copied" usages. 2017-10-26 07:42:49 -05:00
Sander Saares fb4db02586 Copy/link permissions 0777 -> 0755
Previous permission flags were unusually permissive. Almost everything else in Packer uses 0755.
2017-09-02 15:06:04 +03:00
Sander Saares 0ebf1d0da9 Link VHD instead of copy where allowed by OS
No need to incur that copy I/O if we don't even change the file!
2017-09-02 14:56:59 +03:00
Matthew Hooker 81522dced0
move packer to hashicorp 2017-04-04 13:39:01 -07:00
Matthew Hooker bf64d7bdc2
automagic simplification 2017-03-28 20:36:20 -07:00
Volodymyr Babchynskyy d57517d4a4 fix vagrant box structure 2016-12-12 22:44:17 +00:00
lxb 12ef9bf8af
Fixed inconsistency between vagrant-libvirt driver and packer QEMU accelerator 2016-11-03 22:55:55 +11:00
Michael Travis 2f1783dda2 Added vsphere-esx hosts to supported machine types in vagrant post processor 2016-10-06 15:09:01 +01:00
Mark Peek 5bfa6ce2b8 post-processor/vagrant: add artifact id tests for AWS and DO 2015-10-23 18:38:47 -07:00
Chris Bednarski 9ee07f1e8d Add parallel gzip compression to the vagrant post-processor 2015-08-12 12:34:52 -07:00
Mitchell Hashimoto d429b75fcc post-processor/vagrant: fix interpolation 2015-06-23 08:39:57 -07:00
Mitchell Hashimoto 5241d8c6d6 post-processor/*: fix interpolation context 2015-06-22 12:24:55 -07:00
Mitchell Hashimoto 5b343ca98c post-processor/vagrant: interpolation 2015-05-27 14:36:15 -07:00
Emil Hessman 9c31822a2b post-processor/vagrant: address vet report
Fixes the following vet report:

post-processor/vagrant/post-processor_test.go:135: possible formatting directive in Fatal call
2015-02-25 05:43:18 +01:00
Seth Vargo 06e73691d1 Merge pull request #1885 from ceh/fix-win-test
post-processor/vagrant: fix test failure on Windows
2015-02-24 20:06:00 -05:00
Emil Hessman 345d3751b0 post-processor/vagrant: fix test failure on Windows
Close temporary file created in test before trying to remove it.
Fixes test failure on Windows, which cannot remove the file unless
it has been closed.
2015-01-30 20:43:19 +01:00
Rickard von Essen 798458481a Fixes #1881 Don't include Windows Disks when packaging boxes for prl
This excludes the directory "Windows Disks" present in the VM data
directory if you hava a Windows VM with Parallels tools installed.
2015-01-30 10:30:42 +01:00
Emil Hessman 53b1db1669 post-processor/vagrant: check if vagrantfile_template exists
Fixes #801
2014-11-25 13:02:32 +01:00
Emil Hessman a65dc929f2 post-processor/vagrant: test if vagrantfile_template exists
Test for #801
2014-11-25 12:41:24 +01:00
Emil Hessman 3a8e02110e post-processor/vagrant: process templates in Configure 2014-11-25 07:04:17 +01:00
Emil Hessman 1de1350ee2 post-processor/vagrant: test for user variables in vagrantfile_template [GH-1125]
Previously fixed in a47610879f

Closes #1125
2014-11-24 23:45:49 +01:00
Mitchell Hashimoto 06144cf287 fmt 2014-10-28 08:43:19 -07:00
Mitchell Hashimoto 98a52c296c Merge pull request #1597 from petrhosek/enable-custom-vagrant-providers
Extract Vagrant provider processing logic to a method
2014-10-28 08:43:12 -07:00
Mitchell Hashimoto 0db6cd3533 Merge pull request #1330 from qur/qemu-vagrant
Qemu vagrant
2014-10-28 08:42:17 -07:00
Jason A. Beranek a47610879f Merge pull request #1514 from briandowns/master
Added struct to be passed to the Process function to render the vagrant ...
2014-10-27 16:11:58 -05:00
Petr Hosek 3992f4472b Extract Vagrant provider processing logic
This change extracts the provider processing logic to a separate method
which can be invoked from a subtype, providing a custom provider.
2014-10-17 11:16:26 +01:00
Mikhail Zholobov 7b50de33da post-processor/vagrant/parallels: Removed unnecessary filling the Vagrantfile 2014-10-05 11:30:33 +04:00
Brian Downs dabf34a458 Replaced struct call with nil per @jsonberanek. Ran go fmt. 2014-10-03 12:34:07 -07:00
Julian Phillips 60e608dfdb Add support for vagrant with qemu
Once we have produced a qemu VM, we now have the option of using
the vagrant post-processor to create a .box file that can be used with
the vagrant-libvirt plugin.

This uses the new State method of the Artifact API to get necessary
information from the builder.
2014-09-22 11:15:47 +01:00
Julian Phillips 90a57c411f Expand Artifact API to expose build state
In order that something consuming an artifact can have access to extra
builder specific data add the State method which allows the caller to
ask for arbitary values by name.
2014-09-22 11:15:47 +01:00
Brian Downs bf5ec1f985 Ran go fmt 2014-09-19 15:55:05 -07:00
Brian Downs 1303329a91 Added struct to be passed to the Process function to render the vagrant file path. Resolves Issue #1125. 2014-09-19 15:46:07 -07:00
Mitchell Hashimoto 7c11d2a313 post-processor/vagrant: style 2014-09-02 09:54:55 -07:00