Commit Graph

163 Commits

Author SHA1 Message Date
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
Andrey Levkin e0c6285088 Change creating boxes for customizing metadata.json 2014-07-24 17:39:21 +04:00
Andrey Levkin dc555d6b5b Change creating boxes for customizing metadata.json. 2014-07-24 15:16:57 +04:00
Mitchell Hashimoto 1cf6948089 Merge pull request #1284 from MSOpenTech/master
post-processor/vagrant: hyper-v
2014-07-19 09:35:41 -07:00
v-vlshch abc4350f75 Hyper-V support added 2014-06-23 11:19:06 -07:00
Jack Pearkes 7d4efdc236 post-processor/vagrant-cloud: initial commit 2014-06-16 15:53:37 -04:00
Mitchell Hashimoto d925331902 fmt 2014-05-10 10:19:35 -07:00
Mikhail Zholobov 493c8d9580 builder/parallels: fixed Builder ID
Caused by changing namespace to 'packer.*' (3a68c8a)
2014-05-02 14:46:11 +04:00
Rickard von Essen d08ee4adfd Added support for Parallels Desktop for Mac [GH-233] in the vagrant post-processor.
Fixes https://github.com/rickard-von-essen/packer-parallels/issues/3
2014-05-01 20:29:22 +02:00
YungSang 75e26ee955 Added support for Parallels Desktop for Mac [GH-233] in the vagrant post-processor.
The code originate from https://github.com/YungSang/packer-parallels
2014-05-01 20:29:22 +02:00
Seth Vargo abe9bf8581 Ensure parent directories are created for base boxes 2014-04-24 23:32:42 -04:00
Mitchell Hashimoto 42b6f3e1ea post-processor/vagrant: tests on input artifact 2014-02-21 20:04:03 -08:00
Mitchell Hashimoto 20d7f74fc4 post-processor/vagrant: AWS/DO keep input artifacts [GH-55] 2014-02-21 20:02:49 -08:00
Mitchell Hashimoto 51735cc895 post-processor/vagrant: fix alternate providers 2013-12-25 11:01:59 -07:00
Mitchell Hashimoto 9b579a9dd7 post-procssor/vagrant: return proper artifact 2013-12-20 09:52:50 -08:00
Mitchell Hashimoto 5e2f08de70 post-processor/vagrant: do overrides 2013-12-19 14:44:15 -08:00
Mitchell Hashimoto 6518c92e25 post-processor/vagrant: more tests 2013-12-19 14:04:45 -08:00
Mitchell Hashimoto 7b6bbbf42f post-procssor/vagrant: don't export some things 2013-12-19 13:52:48 -08:00
Mitchell Hashimoto 2f09eb5bba post-processor/vagrant: vmware 2013-12-19 13:44:18 -08:00
Mitchell Hashimoto 23e73b1226 post-processor/vagrant: DigitalOcean 2013-12-19 13:41:48 -08:00
Mitchell Hashimoto c1a9728448 post-processor/vagrant: transition aws over 2013-12-19 13:37:09 -08:00
Mitchell Hashimoto 3dd4c08f2d post-processor/vagrant: start new format 2013-12-19 13:22:46 -08:00
Mitchell Hashimoto fb5d1708c5 post-processor/vagrant: include files 2013-12-19 09:28:19 -08:00
Mitchell Hashimoto eaf76618cb post-processor/vagrant: compression_level is an int 2013-12-19 09:16:57 -08:00
Mitchell Hashimoto 7831e0c08c post-processor/vagrant: style nitpicks
/cc @rasa
2013-11-18 15:38:54 -08:00
Ross Smith II 7d33d39da3 Skip gzip compression if compression_level=0 2013-11-18 10:38:19 -08:00
Mitchell Hashimoto 29a22591f9 post-processor/vagrant: support compression level for DO 2013-11-05 14:30:03 -08:00
Ross Smith II 2cad46aa1f post-processor/vagrant: Adds vagrant support for digitalocean
Conflicts:
	post-processor/vagrant/post-processor.go
2013-11-05 14:27:28 -08:00
Mitchell Hashimoto 7537eeae74 Merge pull request #506 from maspwr/compression_level
post-processors/vagrant: add compression_level option
2013-10-20 17:44:26 -07:00
Recai Oktaş 4fcf0d6d5b post-processor/vagrant: fix bug in ova support caused by wrong file path 2013-10-19 01:39:12 +03:00
Mark Aaron Shirley e5c5f685b9 Add compression_level option to vagrant post-processors 2013-10-07 21:59:26 -07:00
Jonas Pfenniger a30426731f Use the same vagrant post-processor for amazon instances than EBS. Fixes #502 2013-10-05 23:32:41 +01:00
Jason A. Beranek 229d790eba post-processor/vagrant: pass PackerConfig to sub post-processors 2013-09-18 22:56:00 -05:00
Mitchell Hashimoto aa694072d7 post-processor/vagrant: simplify logic, only send overrides to PP
[GH-413] /cc @jasonberanek
2013-09-18 15:01:06 -07:00
Mitchell Hashimoto 6fc89e9584 post-processor/vagrant: set output path always in a new raw 2013-09-18 14:51:51 -07:00
Mitchell Hashimoto 2e9dbb72b0 post-processor/vagrant: fix slice copy to actually work for override
[GH-426]
2013-09-18 14:43:42 -07:00
Mitchell Hashimoto f75856188c post-processor/vagrant: don't error if unused 2013-08-23 15:31:21 -07:00
Mitchell Hashimoto 2302e90aae Merge pull request #329 from jasonberanek/vagrant-output-fix
post-processor/vagrant: proper output ConfigTemplate validation [GH-324]
2013-08-23 15:15:55 -07:00
Mitchell Hashimoto aeb395fe90 post-processor/vagrant: nitpick format 2013-08-23 15:14:58 -07:00
Jason A. Beranek c5d2b791df post-processor/vagrant/virtualbox: support ova artifacts [GH-315] 2013-08-22 21:47:50 -05:00
Jason A. Beranek 0e3365782a post-processor/vagrant: fix output ConfigTemplate validation [GH-324]
-apply same output validation steps found in builder specific Configure
functions
2013-08-22 20:19:03 -05:00
Mitchell Hashimoto faf6eb1c67 post-processor/vagrant: show file being compressed [GH-314] 2013-08-19 22:38:32 -07:00
Mitchell Hashimoto fcb24f6896 post-processor/vagrant: process output path properly 2013-08-18 20:37:04 -06:00
Mitchell Hashimoto 64d87bfaf3 *: switch to packer ConfigTemplate 2013-08-15 19:17:23 -07:00
Mitchell Hashimoto 063adf4bbb post-processor/vagrant: process user variabels [GH-295] 2013-08-15 17:46:41 -07:00
Mitchell Hashimoto 4f568a0afe post-processor/vagrant: use common.PackerConfig 2013-08-15 17:46:41 -07:00
Mitchell Hashimoto 89e07b875d post-processor/vagrant: properly close file handles [GH-100] 2013-07-07 17:44:13 -07:00
Mitchell Hashimoto 553800b362 post-processor/vagrant: provider PPs get properly configured 2013-07-05 11:11:54 -07:00
Mitchell Hashimoto 1a2e4f9d0b fmt 2013-07-05 11:00:18 -07:00
Mitchell Hashimoto a9f63871fb post-processor/vagrant: properly forward config into provider [GH-129] 2013-07-05 10:50:57 -07:00
Mitchell Hashimoto eba9834bb1 post-processor/vagrant: Extra logging 2013-07-05 10:41:54 -07:00
Mitchell Hashimoto 857beb6167 post-processor/vagrant: check for error when tarring earlier 2013-07-02 08:46:20 -07:00
Mitchell Hashimoto 223f573dbb fmt 2013-07-01 15:07:37 -07:00
Mitchell Hashimoto 39095e48ea post-processor/vagrant: make output contain build name by default
[GH-92]
2013-07-01 15:07:09 -07:00
Mitchell Hashimoto 807896d63b packer: PostProcessor can take multiple configs 2013-07-01 14:59:23 -07:00
Mitchell Hashimoto f78cbb45a6 packer: PostProcessor API change so they can keep artifacts [GH-55] 2013-07-01 11:30:39 -07:00
Mitchell Hashimoto bd8f89410b post-processor/vagrant: use proper provider type for VMware boxes 2013-06-29 13:52:39 -07:00
Mitchell Hashimoto b11b2739a9 post-processor/vagrant: rename OVF to box.ovf [GH-64] 2013-06-29 12:52:22 -07:00
Mitchell Hashimoto 8e46cd5c22 post-processor/vagrant: provider-specific config works 2013-06-28 10:16:38 -04:00
Mitchell Hashimoto 4cab266eb3 fmt 2013-06-28 09:44:03 -04:00
Mitchell Hashimoto 2a49088785 post-processor: recognize vmware and build vmware boxes 2013-06-27 19:21:03 -04:00
Mitchell Hashimoto bfba7d2d0f post-processor/vagrant: virtualbox output finds and sets up the mac addr 2013-06-27 19:05:47 -04:00
Mitchell Hashimoto 1585f3fef1 post-processor/vagrant: virtualbox box provider should be "virtualbox" 2013-06-27 17:21:15 -04:00