Commit Graph

11516 Commits

Author SHA1 Message Date
Rickard von Essen a02bd23f56
When import task fails show the StatusMessage
This will hopefully tell the user the reason of the failure.
2019-01-17 13:36:44 +01:00
Paul Meyer 728a41b39f
Update CHANGELOG.md 2019-01-16 11:33:24 -08:00
Paul Meyer a01dfb7834
Merge pull request #7203 from paulmey/deallocate
[azure] use deallocate instead of just power-off
2019-01-16 11:32:39 -08:00
Megan Marsh e0543246fa remove commented code 2019-01-16 11:05:11 -08:00
Megan Marsh 783ed32e7e fix region stuff 2019-01-16 11:02:58 -08:00
Paul Meyer e189db97d4 [azure] deallocate instead of just power-off
1. allegedly prevents error where  fails because VM still appears running
2. prevents left-behind VM's after failures from accumulating charges
2019-01-16 00:31:23 +00:00
Paul Meyer d344675660
Update CHANGELOG.md 2019-01-15 10:03:18 -08:00
Paul Meyer 0c47092ec9
Merge pull request #7189 from paulmey/certificate-authentication
[azure] Add certificate authentication
2019-01-15 10:02:01 -08:00
Paul Meyer 812a2dfb95 Update documentation 2019-01-15 17:29:28 +00:00
Paul Meyer aa29facdae Allow certificate bearer JWT client authentication
This allows certificate based authentication, both by just referencing
the certificate file as well as by providing a bearer JWT. This last
option allows authentication without exposing the private key to packer
using an expiring JWT containting the thumbprint (and sometimes the
whole certificate for subject/issuer based auth), signed using the
certificate private key.
2019-01-15 17:29:28 +00:00
Paul Meyer 7e34579b7e Factor out Azure client credential config 2019-01-15 17:23:57 +00:00
Adrien Delorme 9ddec470a0
Merge pull request #7188 from hashicorp/dedupe_step_output_dir
deduplicate step_output_dir and move to common folder
2019-01-15 17:28:21 +01:00
Megan Marsh 126ca2a877
Merge pull request #7158 from rickard-von-essen/fix-7155
WIP: parallels: Fix attaching prl tools
2019-01-11 15:30:37 -08:00
Megan Marsh 97a791389a deduplicate step_output_dir and move to common folder 2019-01-11 15:06:36 -08:00
Adrien Delorme 58245f2557 break a chain of post-processors when one is skipped & make `-only`
"blind" to post-processors

* to avoid trouble
* other arrays of post processors might still be there !
* add docs
* update tests
2019-01-11 14:08:30 +01:00
Adrien Delorme 75af18661f Document --except & --only flags for post-processors 2019-01-11 13:00:10 +01:00
Adrien Delorme c8a39e939a
Merge pull request #7178 from edwardmlyte/simplify-version-check
Simplify version check for port count argument
2019-01-10 16:07:00 +01:00
Adrien Delorme 61ade0e127 allow to use --only with post-processors 2019-01-10 15:44:34 +01:00
Adrien Delorme 4bf3cd44fc allow to skip a post processor 2019-01-10 15:44:34 +01:00
Adrien Delorme 905db043c4 command.TestBuildOnlyFileCommaFlags: create some files using post processors 2019-01-10 15:44:02 +01:00
Adrien Delorme 9f2a3bdfbc
Merge pull request #7181 from hashicorp/python_shell_docs
add python example to shell-local docs
2019-01-10 10:43:55 +01:00
Megan Marsh 14aa2afbb1
Merge pull request #7102 from hashicorp/pr/6950
Add tmp package that offers Dir & File funcs
2019-01-09 12:21:34 -08:00
Megan Marsh a2c3de9396 remove outdated logline 2019-01-09 11:16:48 -08:00
Megan Marsh 56725df3a2 add env_var_format to docs since we reference it in the examples 2019-01-09 11:16:19 -08:00
Megan Marsh b144be5e66 add continuation links to getting started docs 2019-01-09 11:06:10 -08:00
Megan Marsh 4581b3badb add python example to shell-local docs
use abs path for python
2019-01-09 09:50:27 -08:00
Ed Maxwell-Lyte e8e92fe6c6 rename clashing import 2019-01-09 16:30:54 +00:00
Ed Maxwell-Lyte 4437f8d8ba Use go-version for comparison 2019-01-09 16:22:33 +00:00
Adrien Delorme 848d4e981b clarify comments 2019-01-09 16:30:43 +01:00
Ed Maxwell-Lyte 346f5d9bba Simplify version check for port count argument
Might be personal preference, but I think this reads more clearly
2019-01-09 09:46:24 +00:00
Adrien Delorme 9f7b4ffc17
Merge branch 'master' into pr/6950 2019-01-09 10:11:18 +01:00
Adrien Delorme 19cbb9cb24
Merge pull request #7136 from hashicorp/fix_5984
Add "version" option to hyperv calls
2019-01-09 10:06:49 +01:00
Megan Marsh 93053e0488 update comments 2019-01-08 15:15:00 -08:00
Megan Marsh 758a56f91b
Merge pull request #7177 from gep13/patch-1
(doc) Minor correction
2019-01-08 14:29:51 -08:00
Gary Ewan Park 6c5688ca82
(doc) Minor correction
is -> are
2019-01-08 20:16:18 +00:00
Christopher Boumenot 1fd7070121
Merge pull request #7176 from boumenot/pr-azure-sysprep-agent-docs
azure: sysprep after agent is ready
2019-01-08 11:33:12 -08:00
Megan Marsh 9557f3eea7 use script options struct rather than passing all the variables around an extra time 2019-01-08 11:29:38 -08:00
Megan Marsh a1b3b63cb9 use golang templating logic 2019-01-08 11:17:19 -08:00
Christopher Boumenot 3dfbe45fcd azure: sysprep after agent is ready 2019-01-08 10:17:33 -08:00
Adrien Delorme 1b84019a45
Merge pull request #7174 from edwardmlyte/reverse-default-vbox-portcount-arg
Make portcount default argument for storagectl
2019-01-08 17:35:43 +01:00
Adrien Delorme 9143dc7579
Merge pull request #7173 from hashicorp/fix_doc_typo_count_plugin
set list number 5 correctly in plugins.html.md
2019-01-08 17:20:26 +01:00
Ed Maxwell-Lyte 4fc02ea406 Assign to existing var 2019-01-08 16:19:11 +00:00
Adrien Delorme f91b668617
Create portCountArg in the if statement
You can't assign to something that doesn't exist

Co-Authored-By: edwardmlyte <edwardmlyte@gmail.com>
2019-01-08 16:15:24 +00:00
Ed Maxwell-Lyte a9eed311a6 Run gofmt on driver_4_2.go 2019-01-08 15:58:12 +00:00
Rickard von Essen d7e0b3f34a
Updated CHANGELOG.md 2019-01-08 16:54:39 +01:00
Rickard von Essen c8fab8c7a3
Merge pull request #7037 from kmbulebu/openstack_tags
openstack: `image_tags` - Adds support for tagging new images.
2019-01-08 16:53:21 +01:00
Ed Maxwell-Lyte e5b1e0f4d9 Add version 0.x to the rule 2019-01-08 15:35:45 +00:00
Adrien Delorme 7feb73dd5d
set list number 5 correctly in plugins.html.md 2019-01-08 16:33:15 +01:00
Ed Maxwell-Lyte e40c90423f Reverse default port count virtualbox argument
As we know the exact versions that used the old `sataportcount` option, it's safe to assume we want to use the newer `portcount` option for everything else.

Reversed the option check and use the `portcount` option by default. Prevents needing to update this for future major versions of VirtualBox.
2019-01-08 14:14:26 +00:00
Adrien Delorme 65b3e67951
Merge pull request #7169 from DanHam/fix-md-links
Fix links broken by fmt-docs (Pandoc) due to newline
2019-01-07 15:38:43 +01:00