Megan Marsh
5542b2b34a
update changelog
2018-08-23 14:21:40 -07:00
Megan Marsh
1f79b430ee
Merge pull request #6610 from hashicorp/filter_logs
...
Filter logs
2018-08-23 13:30:21 -07:00
Megan Marsh
7f518cc2d0
Merge pull request #6616 from hashicorp/fix_6496
...
added new template variables to replace PACKER_KEY_INTERVAL with tuna…
2018-08-23 13:21:31 -07:00
Megan Marsh
31d4f8af45
use a time.Duration instead of a hardcoded ms
2018-08-23 13:16:01 -07:00
Christopher Boumenot
1801b6dac0
Merge pull request #6618 from hashicorp/azure_docs_tweaks
...
Azure Docs: enhance the copy pasta potential
2018-08-23 08:21:02 -07:00
Adrien Delorme
a0a0594a35
add missing comma
2018-08-23 15:48:14 +02:00
Adrien Delorme
8560fe89e5
Azure Docs: enhanced the copy pasta power
...
* so that it's easier to just copy & paste commands to get going
2018-08-23 13:08:41 +02:00
Rickard von Essen
fdd2a2ac9f
Updated CHANGELOG.md
2018-08-23 12:43:08 +02:00
Rickard von Essen
70cfafb75c
Merge pull request #6490 from tcarrio/most-recent-image-openstack
...
OpenStack source image search filter
2018-08-23 12:41:06 +02:00
Tom Carrio
e2fe5cd775
Updated test cases to cover bad filters and empty()
2018-08-22 18:23:12 -04:00
Megan Marsh
bb319fb1e8
Merge pull request #6607 from hashicorp/gcp_min_cpu_platform
...
GCP: min cpu platform
2018-08-22 12:58:34 -07:00
Megan Marsh
918db58604
added new template variables to replace PACKER_KEY_INTERVAL with tunable key and keygroup intervals depending on driver used
2018-08-22 11:37:56 -07:00
Adrien Delorme
e5ffa9e5b3
use SSHConfigFunc on right member in builder/parallels/pvm/builder.go
2018-08-22 18:23:23 +02:00
Adrien Delorme
fa44a4546f
use ssh.ParsePrivateKey where we can
2018-08-22 18:23:09 +02:00
Adrien Delorme
bacfb02182
doc better SSHConfigFunc
2018-08-22 18:16:25 +02:00
Adrien Delorme
ab7f998862
SSHConfigFunc: use struct fields instead of copying them locally
2018-08-22 17:08:46 +02:00
Adrien Delorme
0ff7c1da87
SSHConfigFunc: append the ssh auth ways
2018-08-22 17:03:25 +02:00
Adrien Delorme
41f6e0334d
refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
...
* still need to append the auth methods into an array for gracefullness
2018-08-22 17:02:23 +02:00
Rickard von Essen
a90fccf329
Updated CHANGELOG.md
2018-08-22 14:29:58 +02:00
Rickard von Essen
057a635cab
Merge pull request #6532 from sermilrod/Allowing-fixed-port-in-forwarding-rules
...
Cloudstack builder: adding public_ssh_port flag to use a fixed port in the forwarding rules
2018-08-22 14:27:38 +02:00
Rickard von Essen
3b49caaf40
OpenStack: refactored how source_image_filter is handled to remove reflection
2018-08-22 13:37:43 +02:00
Sergio Millan Rodriguez
befdb59da6
renaming public_ssh_port to public_port
2018-08-22 10:17:46 +01:00
Megan Marsh
41898ec7ba
Merge pull request #6611 from hashicorp/prettify_log_terminal_output
...
deduplicate logs that stream to terminal
2018-08-21 15:40:22 -07:00
Megan Marsh
941d2fcca6
deduplicate logs that stream to terminal
2018-08-21 15:24:17 -07:00
Megan Marsh
c1b50d365b
Merge pull request #5851 from arizvisa/multi-proto-progressbar
...
Add progress-bar to common/step_download.go
2018-08-21 15:08:22 -07:00
tcarrio
3eb4151599
Fixed wildcard usage in docs
2018-08-21 17:36:30 -04:00
Megan Marsh
af48214ddd
Merge pull request #6606 from hashicorp/fix_6301
...
Make Windows-Restart provisioner work even when using ssh communicator
2018-08-21 13:44:01 -07:00
Megan Marsh
9fa47f5dad
make windows restart provisioner work with ssh communicator
2018-08-21 11:45:18 -07:00
Megan Marsh
1a04b2a31a
update docs to include section on sensitive-variables array
2018-08-21 10:40:33 -07:00
Megan Marsh
8a6441a7a5
add tests for SensitiveVars
2018-08-21 10:28:22 -07:00
Rickard von Essen
bd1961b927
Correctly fail if no Image matches filter
2018-08-21 12:46:42 +02:00
Adrien Delorme
d8b537e258
website doc for min_cpu_platform
2018-08-21 10:35:33 +02:00
Adrien Delorme
b038cd10f5
GCP: Allow to set MinCpuPlatform
2018-08-21 10:09:30 +02:00
Adrien Delorme
e37f126cf1
update gcp google.golang.org/api/compute/v1/
2018-08-21 10:09:01 +02:00
Ali Rizvi-Santiago
cf9bbe3ecf
Incorporated the hack demonstrated by @SwampDragons in order to deal with packer.rpc.Ui not exporting any information about what it's doing to anybody.
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
5726927cba
Moved the progress bar out of packer.Ui and unlinked it out of all the packer.Ui implementations. Split up the terminal-related functions into a separate terminal.go and calculate the progress bar width by traversing through packer.Ui to avoid the issue with github.com/ugorji/go/codec serializing private members (or unsafe pointers) of structs. Shuffled some arguments around in getConsoleScreenBufferInfo in common/terminal_windows.go so that the interface forces the user to correctly declare a _CONSOLE_SCREEN_BUFFER_INFO type.
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
dc2088318e
Updated vendor package github.com/cheggaaa/pb to v1.0.25.
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
0f10032b3d
Moved the progress bar from common to the packer.UI interface and refactored it so that the terminal width is calculated based on each interface which returns a custom progressbar specific to its ui.
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
fd2fef8738
Added support for the progress bar to automatically determine its width using the minimum length from a packer.UI and the terminal dimensions via kernel32.GetConsoleScreenBufferInfo or an ioctl (TIOCGWINSZ) to "/dev/tty".
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
ac27e54c95
Updated vendor package github.com/cheggaaa/pb to v1.0.22
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
16ecb3ad9a
Reverted removal of progress-bar that was done by commit 5d97b105a8
and added some missing arguments that were missed during the rebase. Modified the default progress bar's width to 80 as a result of the conversation on PR #5851 .
2018-08-20 21:55:18 -05:00
Megan Marsh
ff6a039d5b
replace scrubconfig with packer.LogSecretFilter.Set
...
filter winrm password from logs
Add new root-level packer template option, sensitive-variables, to tell us what user variables to mark sensitive.
2018-08-20 15:35:55 -07:00
Matthew Hooker
31fcfe4bc2
PoC for filtering logs
2018-08-20 15:20:21 -07:00
Christopher Boumenot
a1fa35dff5
Merge pull request #6590 from abhinaykumar/patch-1
...
bug-fix: syntax error in createApplication()
2018-08-20 13:56:56 -07:00
Megan Marsh
ca743514b7
Merge pull request #6603 from hashicorp/revert-6593-iso_inplace
...
Revert "allow to use ISO images in-place v.s. copying them #6593" & only update logs
2018-08-20 11:35:47 -07:00
Matthew Hooker
6ecdc130ae
zsh completion
2018-08-20 10:42:32 -07:00
Adrien Delorme
a5587e30ec
log wether the file was transfered or is just being inplace referenced
2018-08-20 11:45:57 +02:00
Adrien Delorme
6b3844a64f
Revert "allow to use ISO images in-place v.s. copying them"
2018-08-20 10:48:06 +02:00
Tom Carrio
c5fe1e9e34
Updated to @rickard-von-essen's code review suggestions, including:
...
- filter build and error checking in Prepare stage (multiErr created in the original function will be returned to Prepare and appended, so all errors show).
- source_image overrides source_image_filter.
- Doc edit
2018-08-19 18:47:07 -04:00
Tom Carrio
5ca5c037eb
Updated filter parser to log all invalid values/fields provided by user
2018-08-19 18:45:22 -04:00