Commit Graph

7244 Commits

Author SHA1 Message Date
DanHam 0cbb4ff30c provisioner/shell: Align gen of flattened env vars with powershell/win-shell
* Move code to generate quoted flattened env vars to separate function
* Fix: generate flattened env vars once per provisioner not once per script
2017-01-23 12:10:46 +00:00
Matthew Hooker d73d7a4577
add converge to provisioner list 2017-01-22 20:12:07 -08:00
Rickard von Essen 6e891cf682
Fixed botched merge and review comments 2017-01-22 21:57:23 +01:00
Matthew Hooker 9e2d69fb97
builder/docker: create export dir if needed 2017-01-21 23:51:08 -08:00
Matthew Hooker a8d165a365 Merge pull request #4429 from DanHam/misc-fix
Fix win-shell test to use counter in index. Mirror test code from win-shell back to ps
2017-01-21 19:37:52 -08:00
Rickard von Essen ce411a0d17 Added docs for SourceAMI and BuildRegion template 2017-01-21 20:39:58 +01:00
Rickard von Essen ba9cae5078 builder/amazon: Add SourceAMI and BuildRegion template
Added {{ .SourceAMI }} and {{ .BuildRegion }} template values availible
in `ami_description`, `run_tags`, `run_volume_tags`, `tags`, and
`snapshot_tags`.
2017-01-21 20:39:58 +01:00
Matthew Hooker 198824a25f
v0.12.3 2017-01-20 12:30:17 -08:00
Matthew Hooker f25949eb2d
Cut version 0.12.2 2017-01-20 12:24:11 -08:00
Matthew Hooker 0636b3949f
prep for 0.12.2 release 2017-01-20 12:19:24 -08:00
Matthew Hooker 144c2f00c1
prepare changelog 2017-01-20 12:18:12 -08:00
Matthew Hooker fa6c6c0e13
update changelog and add prepare script 2017-01-20 12:10:13 -08:00
Matthew Hooker 5cc3e952e3
update changelog 2017-01-20 02:21:11 -08:00
Matthew Hooker 5d6d6ff4ea Merge pull request #4436 from mitchellh/nowaitwinrm
parallels/vmware: don't wait for shutdown command.
2017-01-20 02:19:31 -08:00
Matthew Hooker f1175c1921
parallels/vmware: don't wait for shutdown command.
Resolves #4134

replaces/ closes #4379

Leaving Hyper-V builder alone for now until we can get a case that reproduces.
2017-01-20 01:44:18 -08:00
Matthew Hooker 1109073f9a
update changelog 2017-01-19 13:43:19 -08:00
Matthew Hooker 56115ee270 Merge pull request #4398 from mitchellh/portinclusive
step_http_server: make port range inclusive
2017-01-19 13:38:27 -08:00
Rickard von Essen efa48eeba8 Merge pull request #4431 from jjasghar/patch-1
Update parallel-builds.html.md
2017-01-19 22:10:53 +01:00
JJ Asghar 8db7793ee6 Update parallel-builds.html.md
It seems that `ssh_username` is required from the packer binary.
2017-01-19 14:43:03 -06:00
Matthew Hooker 8a5cb4b428 Merge pull request #4430 from mitchellh/tagalog
log tag creation.
2017-01-19 12:01:24 -08:00
Matthew Hooker fc30f6cc0a
log tag creation.
closes #4427
2017-01-19 12:00:41 -08:00
DanHam 80ebcea5e1
Mirror cleaner test code back from windows-shell to powershell 2017-01-19 13:33:59 +00:00
DanHam 2bd9fa6c70
Use counter for index. Sort stray comments. 2017-01-19 12:12:00 +00:00
Matthew Hooker f84dec91bc
update changelog 2017-01-18 15:27:12 -08:00
Matthew Hooker 2c2eaf89f5 Merge pull request #4425 from mitchellh/sg
builder/amazon: fix when using non-existant security_group_id
2017-01-18 15:26:39 -08:00
Matthew Hooker 56b5e97bf4
verify given security group 2017-01-18 15:25:31 -08:00
Matthew Hooker b265d2614f
builder/amazon: fix when using security_group_id
If `security_group_id` was specified with a group that didn't exist, packer
would go into an infinite loop waiting for it. We shouldn't make assumptions
about the status of explicitely set security groups, so let's just error out
right away if we can't find it.
2017-01-18 15:11:52 -08:00
Matthew Hooker ba90140b1a
update changelog 2017-01-18 13:57:06 -08:00
Matthew Hooker 66f1b08b23 Merge pull request #4424 from EikeVerdenhalven/update_winrmcp
Update winrm / winrmcp
2017-01-18 13:48:49 -08:00
Eike Verdenhalven 7ad77b9e93 integrate new winrm transport interface 2017-01-18 22:11:48 +01:00
Eike Verdenhalven 525d7c946e update vendor packages for winrm from upstream 2017-01-18 22:03:02 +01:00
Matthew Hooker bce6a45cdd
update changelog 2017-01-18 12:57:19 -08:00
Matthew Hooker 708c8910cf Merge pull request #4423 from mitchellh/windowsshell-4328
provider/windows-shell: Allows equals sign in env var value
2017-01-18 12:56:38 -08:00
Matthew Hooker c33cef9c12
tests for equals in windows-shell 2017-01-18 12:51:14 -08:00
DanHam 49bc2e353f
Fix to allow equals in value of environment variable. Mirrors #4328 2017-01-18 12:42:25 -08:00
Matthew Hooker 0a46d883df Merge pull request #4409 from mitchellh/httpenvvar
set PACKER_HTTP_ADDR env var when available.
2017-01-18 12:35:14 -08:00
Matthew Hooker 5bca787cd7
update changelog 2017-01-18 11:40:55 -08:00
Matthew Hooker b81b490c0d Merge pull request #4420 from mitchellh/4419
builder/amazon: fix run volume tagging
2017-01-18 11:40:24 -08:00
Matthew Hooker f5bf588393
tag all volumes 2017-01-18 11:34:46 -08:00
Matthew Hooker 800351b7ca
fix panic and don't print each tag we add. 2017-01-18 11:34:36 -08:00
Roman Zhuzha d9186dc8cf add proper error handling for tagging source instance 2017-01-18 14:02:10 +01:00
Roman Zhuzha ae016a1f25 simplify code flow: skip the step if no run_volume_tags provided 2017-01-18 13:03:05 +01:00
Roman Zhuzha a65af51a4b apply source instance default "Name" tag only if it's not provided in run_tags 2017-01-18 12:55:18 +01:00
Roman Zhuzha 36d8a1df1d use common.ConvertToEC2Tags to apply tags to source EBS volumes, change Say message 2017-01-18 12:52:59 +01:00
Roman Zhuzha aa70c82ec8 use ConvertToEC2Tags to apply tags to source instance, add Say message 2017-01-18 12:50:20 +01:00
Matthew Hooker 332cb784fd
update changelog 2017-01-17 22:03:51 -08:00
Matthew Hooker 26dd3af9ec Merge pull request #4411 from rickard-von-essen/issue-4406
builder/vmware: Try to use `ip address` to find host IP
2017-01-17 22:02:59 -08:00
Matthew Hooker 47558ebd83 Merge pull request #4410 from mitchellh/docs-block-device
Clarified when to use launch_ vs ami_ for block devices
2017-01-17 22:02:40 -08:00
Chris Bednarski b7c73b89ac Propagate block device doc changes to AWS chroot and instance builder docs 2017-01-17 21:32:18 -08:00
Matthew Hooker 4e6a44f5f1
append will resize 2017-01-17 17:21:14 -08:00