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
Megan Marsh
2cecd73aad
add clarity to error message in vsphere-template postprocessor
2018-03-20 11:32:01 -07:00
Matthew Hooker
3c37aaf4e6
update atlas deprecation language
...
This is a follow-on to #6018
2018-03-19 10:50:29 -07:00
Josh Soref
939e7d5587
spelling: delete
2018-03-13 07:36:38 +00:00
Josh Soref
f6745897c5
spelling: compute
2018-03-13 07:21:31 +00:00
Josh Soref
c312493c38
spelling: available
2018-03-13 07:13:24 +00:00
Josh Soref
5c0191828f
spelling: account
2018-03-13 07:05:56 +00:00
Graham Hayes
91d60d6b81
Add LXC to vagrant post-processor
2018-03-07 15:17:52 +00:00
Matthew Hooker
975b50005b
Merge branch 'master' into local-vsphere-template
2018-02-09 11:18:13 -08: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
Matthew Hooker
c03ce222b2
add atlas deprecation warnings.
2018-02-07 15:45:00 -08:00
Matthew Hooker
625201c819
Merge pull request #4148 from minimum2scp/features/googlecompute-export-application-default-credential
...
googlecompute-export: use application default credential
2018-02-05 09:51:21 -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
48e12b6bee
only set role name if it's set.
2018-01-25 10:39:21 -08:00
Brian Terry
380147200c
Added role in amazon-import
2018-01-25 10:56:30 -05:00
Matthew Hooker
7a189a83a1
fix imports
...
`find . -type f -name '*.go' -not -path "./vendor/*" -exec goimports -w {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker
a831d522be
change run signatures
...
Run now takes a context as well as a statebag. We'll assign the context
to the blank identifier to prevent namespace collisions. We'll let the
step authors opt-in to using the context.
`find . -iname "step_*.go" -exec gsed -i'' 's/func \(.*\)Run(/func \1Run(_ context.Context, /' {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker
366dc3da0a
move multistep imports to helper.
...
gomvpkg -from "github.com/mitchellh/multistep" -to "github.com/hashicorp/packer/helper/multistep"
2018-01-24 17:09:15 -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
Matthew Hooker
f3dea272d9
Set session in state bag
...
We can construct connections to arbitrary regions from it
2017-12-19 11:32:33 -08:00
Matthew Hooker
f6c401a143
don't pass in accessconfig
2017-12-19 11:32:32 -08:00
Rong Chen
3e92b1374e
issue5606: follow the convention to use AccessConfig to create new aws session for step_create_tags etc.
2017-12-19 10:34:12 -08:00
Krzysztof Wilczynski
05327b7524
amazon: Remove Session Token (STS) from being shown in the log.
...
This commit adds a change which ensures that the Session Token
config struct item is removed from log output.
Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
2017-12-04 22:14:38 +01:00
Megan Marsh
487ceac784
fix Vet error.
2017-11-13 11:45:31 -08:00
bugbuilder
b754b71519
return vsphere artifact to can build template
2017-11-10 22:57:39 -03:00
bugbuilder
da54bf8e73
using only remoteFolder as parameter
2017-11-10 14:03:15 -03:00
Matthew Hooker
f146e5903f
Merge pull request #5567 from bennu/vm-template-with-export-vm
...
enable vsphere-template post processor to work with export behavior
2017-11-09 15:24:41 -08:00
bugbuilder
23f4d187e2
validating keep_registered and fixing skip_export issues
2017-11-08 15:57:34 -03:00
Matthew Hooker
0172a5c82b
Merge pull request #5511 from hashicorp/fix5507
...
remove login_email from docker
2017-11-06 15:34:04 -08:00
bugbuilder
5ccba2caaa
using virtual disk device to create datastorePath
2017-11-06 02:57:41 -03:00
Matthew Hooker
52558e4f75
check for nil body from upload response
2017-11-02 00:13:31 -07:00
Joe Ferguson
5c2f758053
🎨 Fix typo in "copyed" -> "copied" usages.
2017-10-26 07:42:49 -05:00
Matthew Hooker
1901c0385f
remove login_email from docker
...
adds fixer
removes documentation
removes from docker builder and docker-push pp
2017-10-25 10:53:06 -07:00
Matthew Hooker
abcc02dc64
filter password from logs
2017-10-24 11:39:04 -07:00
Matthew Hooker
0cf0a4336d
relay ovftool output.
2017-10-23 15:38:57 -07:00
Megan Marsh
a7d25cd4c1
remove deprecation warning since we've been talked out of removing shell-local postprocessor
2017-10-12 16:14:15 -07:00
Matthew Hooker
4d3a762e85
Merge pull request #5207 from sandersaares/hyperv-vagrant-hardlink
...
Link VHD instead of copy where allowed by OS
2017-10-09 15:08:16 -07:00
bugbuilder
50904064e1
doesn't keep the original artifact
2017-09-24 21:56:35 -03:00
bugbuilder
75a4ca7351
adding artifact testing and using builder id
2017-09-23 15:43:57 -03:00
bugbuilder
f1773a57f8
using vmx extension as default
2017-09-23 03:01:35 -03:00
bugbuilder
99dd19ccfd
Adding correct reference to VM remote path
2017-09-22 23:37:27 -03:00
bugbuilder
24a8fddf03
showing artifact info in packer UI
2017-09-22 13:54:11 -03:00
bugbuilder
644ac5b367
enable vsphere-template to work with local builders
2017-09-20 22:50:37 -03:00
Megan Marsh
fa177c52c2
put deprecation warning at end so it isnt lost in scrollback
2017-09-11 16:35:05 -07:00
Megan Marsh
4b7fd33f99
add deprecation warning to shell local provisioner
2017-09-11 16:29:45 -07: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
bugbuilder
6590dfaf82
using runner with pause func
2017-09-01 00:33:40 -03:00
bugbuilder
abc21406cb
Merge branch 'master' of https://github.com/hashicorp/packer into vsphere-tpl
2017-08-31 22:22:51 -03:00
Vijaya Bhaskar Reddy Kondreddi
e45223a867
Fix -on-error issue not working.
...
When we supply -on-error flag for Packer with Hyper-v builder, it does not do anything.
2017-09-01 00:14:28 +05:30
bugbuilder
f09a9c4653
using artifact ID
2017-08-30 18:19:54 -03:00
bugbuilder
138f54d9d3
Merge branch 'master' of https://github.com/hashicorp/packer into vsphere-tpl
2017-08-30 18:13:54 -03:00
bugbuilder
fc4bee4598
VMware typo
2017-08-24 22:46:35 -03:00
bugbuilder
81272d1427
Updated mark as template to be able to use --force
2017-08-14 23:00:19 -03:00
Matthew Hooker
943e8e648a
properly handle decode error
2017-08-07 11:09:40 -07:00
Luke Farnell
d9a5b69403
clean up ineffectual assignments
2017-08-07 13:20:01 -04:00
Justin Campbell
24c4029bb1
Remove date from atlas post-processor warning
2017-08-01 09:08:14 -04:00
bugbuilder
5e1d241db4
Close govmomi session
2017-07-31 10:30:13 -04:00
bugbuilder
786d3c0a9d
updated documentation, vm_name mandatory and cleaning code
2017-07-31 00:26:58 -04:00
bugbuilder
08c6139da4
Create folder using the invotory path
2017-07-27 16:55:47 -04:00
bugbuilder
fb52c42b3d
Only add the folder when the error is NotFoundError
2017-07-25 23:14:59 -04:00
bugbuilder
7274bbb63d
commends, documentation and var names updates
2017-07-19 00:44:18 -04:00
bugbuilder
fa10616f57
Changes requested applied
2017-07-18 23:10:05 -04:00
bugbuilder
3cc9f204ac
Moving vsphere-tpl to vsphere-template, fixed root folder creation and updated docs
2017-07-10 20:52:48 -04:00
bugbuilder
b88fb8bdb2
Improved creation folder step and fixed documentation
2017-07-10 04:13:54 -04:00
bugbuilder
2830b4f3b0
fix test
2017-07-09 22:18:42 -04:00
bugbuilder
35d681444c
format
2017-07-09 22:13:31 -04:00
bugbuilder
fec0b934b5
Adding a simple test
2017-07-09 21:58:29 -04:00
bugbuilder
26dd7ec31b
keep_registered option is not required
2017-07-09 20:33:03 -04:00
bugbuilder
35b29847dc
Cleaning code and adding insecure option to vSphere connection
2017-07-09 15:58:42 -04:00
Rickard von Essen
337e7d88e6
post-processor/checksum: properly interpolate output
...
Fix a bug where "output" of checksum post-processor was not correctly
interpolating {{.BuilderType}}, {{.BuildName}}, and {{.ChecksumType}}.
2017-07-09 21:50:20 +02:00
bugbuilder
c8747f138f
Adding template feature
2017-07-09 14:56:39 -04:00
bugbuilder
dc2124aa2a
Initial vSphere-tpl post-processor
2017-07-09 14:12:37 -04:00
Megan Marsh
b8b34646bd
disallow vagrant.box artifacts in atlas postprocessor
2017-06-29 11:16:42 -07:00
Matthew Hooker
8dae6b60c1
Merge pull request #4996 from hashicorp/mwhooker/4613
...
builder/amazon: Support Assume Role with MFA and ECS Task Roles
2017-06-13 17:40:09 -07:00
Matthew Hooker
4b4c2e4a59
Merge pull request #5008 from hashicorp/pp-vc-u1
...
post-processor/vagrant-cloud: try upload once
2017-06-13 11:36:42 -07:00
Matthew Hooker
94d7a4ce8d
post-processor/vagrant-cloud: try upload once
...
* fixes multiple uploads mentioned in #4973
* removed unused token code
2017-06-12 17:34:32 -07:00
Matthew Hooker
519256feb0
add content-length to file upload
2017-06-12 15:01:19 -07:00
Matthew Hooker
a1747c21f7
vagrant-cloud: use less memory when uploading
2017-06-12 11:07:33 -07:00
Matthew Hooker
56c513088b
I think this was the intention
2017-06-09 10:34:49 -07:00
Matthew Hooker
dde40d54c6
atlas cloud token warn
2017-06-07 17:20:54 -07:00
Matthew Hooker
8933690e90
Merge pull request #4950 from hashicorp/warn_atlas_users
...
add warning about vagrant.box vms being uploaded to atlas
2017-06-07 13:44:41 -07:00
Megan Marsh
dbd7aa6b95
capitalize all the things
2017-06-07 13:30:39 -07:00
Megan Marsh
1c1db91715
add instructions
2017-06-07 13:20:02 -07:00
Andrew Garrett
fbacf883b4
Fix vet issues with alicloud
2017-06-07 19:38:26 +00:00
Matthew Hooker
a52cd65af8
remove license type from general debugging
2017-06-05 15:27:33 -07:00
Matthew Hooker
687f648506
Merge pull request #4634 from dayglojesus/add_amazon_import_license_type
...
amazon-import post-processor: support license_type
2017-06-05 15:23:14 -07:00
Matthew Hooker
b1bcf62ae1
Merge pull request #4619 from zhuzhih2017/master
...
Add packer plugin which support to create alicloud ecs image
2017-06-02 13:33:10 -07:00
Matthew Hooker
88901ffe96
rename alicloud pp
2017-06-01 15:47:47 -07:00
Matthew Hooker
8db397765c
spelling and formatting
2017-06-01 15:47:46 -07:00
Megan Marsh
b31f8bb0f6
clean up formatting and add warning to packer push.
2017-06-01 11:25:53 -07:00
Megan Marsh
690d54aaf9
add warning about vagrant.box vms being uploaded to atlas
2017-06-01 09:39:18 -07:00
zhuzhih2017
b2aa40655b
fix long line format
2017-05-26 10:59:53 +08:00
Brian Warsing
8cc4558df9
fix bad conditional logic and assignment
2017-05-24 13:22:46 -07:00
Brian Warsing
47df47c73f
conform ImportImage LicenseType behaviour
...
- remove the synthetic default; defaults are established internally by the func
- store ImportImageInput in params var
- only pack the LicenseType into struct if a value has been set
2017-05-24 11:33:21 -07:00