Commit Graph

8421 Commits

Author SHA1 Message Date
DanHam 2a060adbf8 Don't use -EncodedCommand with PS as progress stream always leaks to stderr
* Setting $ProgressPreference to SilentlyContinue makes no difference
  when -EncodedCommand is used - any output to the progress stream
  still appears on stderr.
* Delete file containing encode/decode functions since we no longer
  need them.
* Fixes leak of output on progress streams for both normal and elevated
  commands.
* Since we no longer base64 encode, ensure any characters special to XML
  are correctly escaped in the elevated command. This ensures correct
  parsing once the command is wrapped within the elevatedTemplates XML
  based Task Scheduler definition.

Fixes #4322
2017-09-26 11:07:11 +01:00
Oscar Elfving 8173e5d3ce Updated docs with more robust sysprep script for the windows Azure builder 2017-09-26 11:56:46 +02:00
Matthew Hooker 875cccfb44
update changelog 2017-09-25 16:37:35 -07:00
Matthew Hooker 02cd6bc7f0 Merge pull request #5288 from hashicorp/fix3114
add token variable to upload bundle command template
2017-09-25 18:36:28 -05:00
Matthew Hooker 4bc8e7de3d
add token variable to upload bundle command template 2017-09-25 16:35:53 -07:00
Matthew Hooker 2297cfaee2 Merge pull request #5357 from lochnesh/fix-windows-chef-solo-version
use flag -version instead of -v to install chef-solo on Windows
2017-09-25 18:18:16 -05:00
Matthew Hooker eabcec6809 Merge pull request #5363 from batzen/patch-1
Fixes #4880 by always using EnableDynamicMemory
2017-09-25 18:14:30 -05:00
SwampDragons 08a52f1c57 Merge pull request #5369 from DanHam/gh-5368-psenvvar
Use system context env var to set path for elevated PS env vars file
2017-09-25 15:47:16 -07:00
Matthew Hooker fc09dc5c71
update changelog 2017-09-25 15:39:17 -07:00
Matthew Hooker 339d768420
add ppc64le as a build target 2017-09-25 15:38:32 -07:00
Matthew Hooker 9173eeaa56
update changelog 2017-09-25 14:07:45 -07:00
Matthew Hooker 6e96879640 Merge pull request #5381 from dave2/gh-5320
(GH-5320) In Amazon builders, allow tag names to be interpolated like values
2017-09-25 16:06:54 -05:00
Zanetti, David 42dc1e4795 In Amazon builders, allow tag names to be interpolated like values 2017-09-25 02:24:23 +00:00
Rickard von Essen 7d10c98a38 Updated CHANGELOG.md 2017-09-23 07:40:52 +02:00
Rickard von Essen 6883a9f103 Merge pull request #5356 from petemounce/label_googlecompute_images
Make the googlecompute builder label the resulting image.
2017-09-23 07:26:39 +02:00
Patrick Lang 6acdb9d148 Disabling automatic checkpoints
Signed-off-by: Patrick Lang <plang@microsoft.com>
2017-09-21 14:51:38 -07:00
DanHam 5374c6e367
Use system context env var to set path for elevated PS env vars file 2017-09-21 12:08:29 +01:00
Bastian Schmidt c1aba87b39 Fixes #4880 by always using EnableDynamicMemory
This was needed because the default in Hyper-V on Windows 10 changed from "false" to "true".
2017-09-20 14:53:37 +02:00
Peter Mounce 7cbd57faa6 Filling it back 2017-09-19 11:40:01 +01:00
Peter Mounce 15a456750b CI as compiler! 2017-09-19 11:34:08 +01:00
Peter Mounce 2239d55fdb Add test coverage 2017-09-19 11:31:05 +01:00
Peter Mounce 5bcb0644c3 Using CI for compilation errors because am on Windows 2017-09-18 18:13:21 +01:00
Peter Mounce ac8eedf171 Introduce a new configuration parameter instead
... so that one can have a different list compared to instances.
2017-09-18 17:53:40 +01:00
Peter Mounce e579b947b1 Fix signature that I missed 2017-09-18 17:34:06 +01:00
Peter Mounce 8789ae72e8 Make the googlecompute builder label the resulting image.
... so that it's possible to find images matching particular characteristics more easily.
2017-09-18 15:44:01 +01:00
Skyler Nesheim 52d3137b08 use flag -version instead of -v to install chef-solo on Windows 2017-09-18 09:43:02 -05:00
Matthew Hooker 4ce381cae7
update changelog 2017-09-15 10:52:59 -07:00
Matthew Hooker 76f539a439 Merge pull request #5351 from hashicorp/fix5347
fix directory permissions when using sudo
2017-09-15 10:51:15 -07:00
Matthew Hooker 70e493a2c2
fix directory permissions when using sudo 2017-09-15 10:48:50 -07:00
Matthew Hooker af1187d5e1
simplify a bit 2017-09-15 10:06:54 -07:00
Megan Marsh f71a25c7a7 Merge pull request #5345 from hashicorp/elevated_vars_4994
Elevated vars 4994
2017-09-15 09:12:58 -07:00
Megan Marsh b05c673a14 Update powershell provisioner test with new default 2017-09-15 08:17:17 -07:00
Megan Marsh 5d63f01fed Update docs for elevated_execute_command with new default command 2017-09-15 08:14:12 -07:00
Matthew Hooker e8c54cb496
docs: update default value for `expect_disconnect` 2017-09-14 17:49:34 -07:00
Megan Marsh cbe1d7d854 simplify file upload for elevated powershell wrapper 2017-09-14 17:01:48 -07:00
Megan Marsh 92e70757bb Move env vars into a file that we dot-source instead of trying to write them all to the command line 2017-09-14 17:00:57 -07:00
Matthew Hooker 7be2ad6312
docs: fix sidebar link to powershell 2017-09-14 12:59:31 -07:00
Megan Marsh f86d45eaf6 fix docs for execute_command and elevated_execute_command 2017-09-14 10:50:38 -07:00
Megan Marsh d458628529 exclude elevated_executed_command from config interpolation so it can be used correctly later 2017-09-14 10:50:32 -07:00
c22 948f955758 Fix regression bug reported in #5339 2017-09-14 11:44:14 +10:00
c22 cb12cd6668 Fix facterVar separator bug reported in #5338 2017-09-14 11:35:54 +10:00
Matthew Hooker fc1ce68bff
docs: add lxc/d to sidebar, cleanup 2017-09-12 15:45:55 -07:00
Matthew Hooker ec3831323f
Next version is 1.1.1 2017-09-12 15:20:09 -07:00
Matthew Hooker 84b9b07901
Cut version 1.1.0 2017-09-12 15:13:24 -07:00
Matthew Hooker 40d9c65106
prepare for 1.1.0 2017-09-12 15:06:54 -07:00
Matthew Hooker c4aeb0558b
prepare changelog for release 2017-09-12 15:05:58 -07:00
Matthew Hooker 5747b54632
update changelog 2017-09-12 14:56:15 -07:00
Matthew Hooker ccfdbdbe81 Merge pull request #5333 from hashicorp/5234-2
builder/docker: respect rsync semantics when uploading directories.
2017-09-12 14:53:03 -07:00
Matthew Hooker 392af507e0
builder/docker: respect rsync semantics when uploading directories. 2017-09-12 14:45:25 -07:00
Matthew Hooker b112efcc0b
update changelog 2017-09-12 12:50:11 -07:00