packer-cn/common
Megan Marsh d2dd158fe2 Implement cd_files option. The Addfile code is modified from the floppy_files
tooling. Tested on OSX, `Windows, and Linux. Documented command line dependencies.
Added acceptance tests (behind testacc flag, since there are dependencies).
This option is only implemented for the vmware and hyperv iso builders. It will be
implemented for others in later PRs in order to make review easier.
2020-09-04 12:20:19 -07:00
..
adapter allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
bootcommand Add vSphere HCL examples to the docs (#9674) 2020-08-05 19:23:52 +02:00
chroot Add tests for StepCopyFiles. 2020-08-09 15:44:50 -07: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 Include Hyper-V secure boot template in box.xml 2020-07-08 18:23:19 +02:00
random Fix azure winrm_password attribution and allow to set winrm_username (#8928) 2020-03-24 14:43:24 +01:00
retry builder/azure-arm: Update logic for setting subscriptionID (#8685) 2020-02-04 10:54:58 -05:00
shell use shell struct in shell-local provisioner and post-processor. 2019-11-21 16:47:29 -08:00
shell-local core: Decode: when in HCL2 decoding mode; reset the whole struct before preparing it. (#9622) 2020-07-23 09:25:07 +02:00
shutdowncommand Change back to make sure all durations are a time.Duration 2019-10-31 16:12:07 +01:00
template Use common funcs / fix panic / clarify docs 2020-08-12 22:34:13 +01:00
test-fixtures Add iso config test for checksum from file specific case (#8897) 2020-03-18 11:32:51 +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
extra_iso_config.go Implement cd_files option. The Addfile code is modified from the floppy_files 2020-09-04 12:20:19 -07:00
extra_iso_config_test.go Implement cd_files option. The Addfile code is modified from the floppy_files 2020-09-04 12:20:19 -07:00
floppy_config.go packer.io prefix removal, html extension remove for in-code errors 2020-04-07 17:53:22 -04:00
floppy_config_test.go tests actually test the floppies 2016-07-27 21:59:21 +01:00
http_config.go add the ability to configure the http bind address. defaults to 0.0.0.0. 2020-06-03 16:40:18 -07:00
http_config_test.go use port as ints 2019-03-19 15:01:12 +01:00
iso_config.go Add vSphere HCL examples to the docs (#9674) 2020-08-05 19:23:52 +02:00
iso_config_test.go Drop the iso_checksum_type & iso_checksum_url fields (#8437) 2020-05-28 11:02:09 +02:00
multistep_debug.go fix imports 2018-01-24 17:09:17 -08:00
multistep_runner.go add on-error flag option to run cleanup provisioner 2020-06-16 15:34:00 +02: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_cdrom.go Implement cd_files option. The Addfile code is modified from the floppy_files 2020-09-04 12:20:19 -07:00
step_create_cdrom_test.go Implement cd_files option. The Addfile code is modified from the floppy_files 2020-09-04 12:20:19 -07: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 Update go-getter and add samba shared files tests to step_download (#8954) 2020-06-04 15:00:18 +02:00
step_download_test.go Update go-getter and add samba shared files tests to step_download (#8954) 2020-06-04 15:00:18 +02:00
step_http_server.go add the ability to configure the http bind address. defaults to 0.0.0.0. 2020-06-03 16:40:18 -07: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 fix agent auth in ssh communicator for ansible provisioner (#9488) 2020-07-23 16:03:01 +03:00
step_provision_test.go Replace file shared state by statebag (#9238) 2020-05-19 11:49:48 +02: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 fix goimports 2020-02-06 18:18:03 +01: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