packer-cn/common
nywilken 3522e13b1e provisioner/shell: Add `env_var_format` support to shell provisioner
* Move setting of default EnvVarFormat to the Prepare function
* Add generated hcl2 structure for the updated Shell provisioner config
* Move `EnvVarFormat` field to shared common shell type
* Add description for the `env_var_format` parameter
* Update `env_var_format` when used with `use_env_var_file`
2019-11-06 16:28:56 -05:00
..
adapter allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
bootcommand Change back to make sure all durations are a time.Duration 2019-10-31 16:12:07 +01:00
chroot Move common steps together 2019-10-24 04:21:46 +00:00
filelock Shadow the flock pkg & add a noop filelock so that at least the solaris binary can be built 2019-04-30 16:01:23 +02:00
iochan use our own copy of iochan.LineReader 2019-04-11 14:25:24 +02:00
json common/json: add Unmarshal with method with syntax errors 2013-08-09 16:50:24 -07:00
net configure_port_test.go: don't panic when error is not what we expected 2019-09-05 17:03:54 +02:00
powershell Merge pull request #8248 from marcinbojko/master 2019-10-21 11:47:15 -07:00
random random: optimize allocation & simplify loop 2018-09-05 10:27:02 +02:00
retry Revert "Backoff.Linear: panic when InitialBackoff > MaxBackoff" 2019-06-11 12:53:06 +02:00
shell provisioner/shell: Add `env_var_format` support to shell provisioner 2019-11-06 16:28:56 -05:00
shell-local commit old code generation tool 2019-10-15 12:56:42 +02:00
shutdowncommand Change back to make sure all durations are a time.Duration 2019-10-31 16:12:07 +01:00
template introduce the clean_resource_name to clean image names and deprecate the old ones 2019-04-03 11:25:51 +02:00
test-fixtures Use the hashicorp/go-getter to download files 2019-03-13 12:11:58 +01:00
uuid Simplifies the implementation of common/uuid 2013-10-23 23:05:02 +01:00
command.go Move CommandWrapper & ShellCommand to common 2019-10-24 04:06:29 +00:00
config.go Use the hashicorp/go-getter to download files 2019-03-13 12:11:58 +01:00
floppy_config.go Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config 2019-09-20 11:15:44 +02:00
floppy_config_test.go tests actually test the floppies 2016-07-27 21:59:21 +01:00
http_config.go document HTTPConfig from struct 2019-06-14 11:52:38 +02:00
http_config_test.go use port as ints 2019-03-19 15:01:12 +01:00
iso_config.go common: collect dropped error 2019-10-23 13:02:08 -07:00
iso_config_test.go common: fix dropped errors and warnings in test 2019-09-20 05:06:25 -07:00
multistep_debug.go fix imports 2018-01-24 17:09:17 -08:00
multistep_runner.go implement abort logic and printing for the askstep implementation as well 2019-07-26 12:24:03 -07:00
packer_config.go replace scrubconfig with packer.LogSecretFilter.Set 2018-08-20 15:35:55 -07:00
retry.go builder/virtualbox-ovf retry removing VM. 2017-10-25 10:27:33 -07:00
retry_test.go post-processor/vagrant-cloud: try upload once 2017-06-12 17:34:32 -07:00
step_cleanup_temp_keys.go allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
step_create_floppy.go use printf for logging 2019-09-13 01:53:42 +03:00
step_create_floppy_test.go Merge pull request #8310 from alrs/resuscitate-common-floppy-tests 2019-11-04 15:50:46 +01:00
step_download.go Move 'ui' variable closer to invocation. 2019-07-31 14:08:40 -04:00
step_download_test.go add test for local fs download 2019-07-22 09:17:48 -07:00
step_http_server.go use port as ints 2019-03-19 15:01:12 +01:00
step_output_dir.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_output_dir_test.go deduplicate step_output_dir and move to common folder 2019-01-11 15:06:36 -08:00
step_provision.go rename option to error-cleanup-privisoner, which I think is clearer 2019-09-25 13:43:29 -07:00
step_provision_test.go fix imports 2018-01-24 17:09:17 -08:00
terminal.go 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
terminal_posix.go 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
terminal_test.go 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
terminal_windows.go 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