DanHam
3cdc79de6a
Update docs to reflect new upload and dot source of env var for std ps cmd
2017-10-30 21:08:14 +00:00
DanHam
4b89fc1c00
Fix tests post changes. Add test for upload func.
2017-10-30 21:08:14 +00:00
DanHam
5949bc91c4
Extend upload and subsequent 'dot sourcing' of env vars to std PS command
...
* Wrap funcs to flatten and upload env vars with new func prepareEnvVars.
While the wrapped funcs could be combined, keeping them separate
simplifies testing.
* Configure/refactor std and elevated PS to use new funcs to prepare,
upload and dot source env vars.
* Dot sourcing the env vars in this way avoids the need to embed them
directly in the command string. This avoids the need to escape the env
vars to ensure the command string is correctly parsed.
* Characters within the env vars that are special to PS (such as $'s
and backticks) will still need to be escaped to allow them to be
correctly interpreted by PS.
* The std and elevated PS commands now inject env vars into the remote
env via the same mechanism. This ensures consistent behaviour across the
two command types.
Fixes #5471
2017-10-30 21:08:13 +00:00
Matthew Hooker
fe4d4648e6
codeowners for post-processors
2017-10-30 12:51:22 -07:00
Matthew Hooker
a63ba2f9c3
update changelog
2017-10-30 09:46:13 -07:00
Matthew Hooker
a66f51f025
Merge pull request #5517 from PatrickLang/hyperv-gen2-autocheckpoint
...
Fixing auto checkpoints for generation 2 VMs.
2017-10-30 09:33:16 -07:00
Matthew Hooker
faf96b369f
Merge pull request #5510 from hashicorp/fix5216
...
fix hyper-v admin check
2017-10-27 08:49:16 -07:00
Matthew Hooker
8d3bbf4da2
Merge pull request #5514 from hashicorp/ctool
...
add community tools links from @geerlingguy
2017-10-26 11:25:04 -07:00
Matthew Hooker
ecad3348b3
rephrase log message.
2017-10-26 10:41:49 -07:00
Matthew Hooker
0d19fbc27d
Merge pull request #5523 from Ohadbasan/master
...
Add suggestion for "expected_disconnect" option if disconnection occurs
2017-10-26 10:07:09 -07:00
Ohad Basan
33b85b0130
Add suggestion for "expected_disconnect" option if disconnection occurs
2017-10-26 19:53:48 +03:00
Matthew Hooker
ac84cc8913
Merge pull request #5520 from svpernova09/bugfix/fix-typo-copyed
...
🎨 Fix typo in "copyed" -> "copied" usages.
2017-10-26 09:12:44 -07:00
Joe Ferguson
5c2f758053
🎨 Fix typo in "copyed" -> "copied" usages.
2017-10-26 07:42:49 -05:00
Patrick Lang
6d5f75e118
run gofmt
2017-10-25 21:47:14 -07:00
Patrick Lang
95d82b4637
Fixing auto checkpoints for generation 2 VMs. Resolves #5506
...
Also cleaning up ifs
2017-10-25 21:21:32 -07:00
Matthew Hooker
26c7188cf3
add community tools links from @geerlingguy
2017-10-25 14:53:18 -07:00
Matthew Hooker
794e518eb7
use hyper-v admin group, not admin
2017-10-25 13:29:03 -07:00
Matthew Hooker
812fd12a0b
move trimspace to powershell exit check
2017-10-25 13:28:59 -07:00
Matthew Hooker
0be02ab217
hyper-v: Don't error while checking for admin permissions.
2017-10-25 09:18:40 -07:00
Matthew Hooker
abcc02dc64
filter password from logs
2017-10-24 11:39:04 -07:00
SwampDragons
84eff2dc93
Merge pull request #5500 from manojlds/patch-1
...
Update wording on manifest behaviour on build rerun
2017-10-24 09:53:15 -07:00
Manoj
dbeb48a993
Update wording on manifest behaviour on build rerun
2017-10-24 11:27:22 +05:30
Matthew Hooker
b3ea9da4f7
update changelog
2017-10-23 18:28:31 -07:00
Matthew Hooker
eaec57e9d7
Merge pull request #5499 from hashicorp/f-5498
...
relay ovftool output.
2017-10-23 18:27:36 -07:00
Matthew Hooker
0cf0a4336d
relay ovftool output.
2017-10-23 15:38:57 -07:00
Matthew Hooker
449da83896
use correct oracle builder name
2017-10-23 12:10:31 -07:00
Matthew Hooker
bd5d1fc53a
fix formatting;
2017-10-23 09:39:25 -07:00
Matthew Hooker
f07b791a3f
revert eol whitespace changes
2017-10-23 09:29:03 -07:00
Andrew Pryde
f31c2c59c1
Merge pull request #5407 from prydie/fix-5401
...
Fix Oracle OCI builder ignores region value provided in OCI config file
2017-10-23 09:56:49 +01:00
Matthew Hooker
b942c27b21
remove end of line spaces
2017-10-21 20:13:47 -07:00
SwampDragons
1563fb97c7
Merge pull request #5463 from atsushi-ishibashi/issue5323
...
Add clean_image_name for gcp
2017-10-20 14:16:11 -07:00
Megan Marsh
4721b48c70
add a couple of extra tests and reword documentation
2017-10-20 14:06:02 -07:00
Atsushi Ishibashi
c3a00993d0
Don't truncate and replace with 'a', update docs
2017-10-19 10:45:48 +09:00
Matthew Hooker
329be245ee
Merge pull request #5445 from hashicorp/codeowners
...
add codeowners file
2017-10-18 09:25:08 -07:00
Andrew Pryde
bb497c2453
Fixed incorrect test failure message in oci client
2017-10-18 11:11:14 +01:00
Atsushi Ishibashi
3e68f1c505
Change first and last character when it doesn't match
2017-10-18 11:10:19 +09:00
Matthew Hooker
f3c64ce81a
update changelog
2017-10-17 16:09:05 -07:00
Matthew Hooker
c4e83fc928
Merge pull request #5470 from aaron0browne/ecr-login-profile
...
Add aws_profile option to docker-push ecr_login
2017-10-17 16:07:05 -07:00
SwampDragons
940ebe0ddc
Merge pull request #5473 from mprince/puppetdocs
...
Arguments sorting for Puppet provisioners docs
2017-10-17 13:14:08 -07:00
Aaron Browne
ffc63a8724
Use amazon common AccessConfig for ecr_login
...
Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
2017-10-17 15:00:19 -04:00
Matthew Hooker
265ae7026e
docs formatting
2017-10-17 11:29:11 -07:00
Marcel Prince
8244d8bfb9
Arguments sorting for Puppet provisioners docs
2017-10-17 08:25:40 -07:00
Atsushi Ishibashi
210dd08326
Change args of NewConfig
2017-10-17 13:48:15 +09:00
Atsushi Ishibashi
5310d5629b
Modify clean_image_name not defined error
2017-10-17 12:31:50 +09:00
Matthew Hooker
f73fbd81d2
Merge pull request #5469 from mayn/issue-5468
...
docs: reference generic integer/boolean datatype across docs
2017-10-16 16:30:28 -07:00
Aaron Browne
8df643c343
Add aws_profile option to docker-push ecr_login
...
An aws_profile option is added to the AWS ECR login credentials
configuration to allow using shared AWS credentials stored in
a non-default profile.
Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
2017-10-16 16:55:34 -04:00
Matthew Hooker
8585e0ebf5
doc improvements
2017-10-16 13:27:26 -07:00
Matthew Hooker
6837bf8276
grammar and style fix
2017-10-16 13:04:53 -07:00
Matthew Hooker
178bdf1dbe
Merge pull request #5460 from teadur/patch-1
...
Update documentation to avoid confusion
2017-10-16 13:03:23 -07:00
Atsushi Ishibashi
3600924e59
Rename files
2017-10-17 04:55:50 +09:00