Commit Graph

8373 Commits

Author SHA1 Message Date
Matthew Hooker e442b99325 Merge pull request #5389 from hashicorp/do_5353
add ami name to output
2017-09-26 17:14:49 -07:00
Megan Marsh 201e8c05a0 add ami name to output 2017-09-26 16:04:40 -07:00
SwampDragons 0ef12c9810 Merge pull request #5365 from DanHam/gh-4322-psleak
Fix Powershell Progress stream leak to stderr for normal and elevated commands
2017-09-26 15:53:54 -07:00
Matthew Hooker 80c0f47cf1 Merge pull request #5385 from sofam/robust-sysprep
Updated docs with more robust sysprep script for deprovisioning Windows on Azure
2017-09-26 13:03:18 -07:00
Rickard von Essen c614371e5a Merge pull request #5387 from DanHam/fix-fixer-filename
Fix typo in fixer file name
2017-09-26 19:12:56 +02:00
DanHam 4ef462816a Fix typo in fixer file name 2017-09-26 17:50:47 +01:00
DanHam b7bb6b54b4 Update docs with new defaults for Powershell commands 2017-09-26 11:07:38 +01:00
DanHam fa5fd602aa Fix tests post changes 2017-09-26 11:07:26 +01:00
DanHam 8214a12a2a Move append of portion of command used to send elevated PS output to file 2017-09-26 11:07:26 +01:00
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
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
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