packer-cn/common
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
..
bootcommand regenerate boot command code 2018-05-29 11:17:51 -07:00
json common/json: add Unmarshal with method with syntax errors 2013-08-09 16:50:24 -07:00
powershell Use Get-Command over Get-Help to check for SecureBootTemplate parameter 2018-06-25 23:52:01 +01:00
shell-local shell-local: expose PACKER_HTTP_ADDR env var 2018-07-17 18:49:36 +03:00
test-fixtures Add unit test to show that we handle tars safely 2018-05-25 12:13:59 -07:00
uuid Simplifies the implementation of common/uuid 2013-10-23 23:05:02 +01:00
config.go 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
config_test.go Removed an extra '/' from the TestFileExistsLocally test in common/config_test.go 2018-02-02 20:36:08 -06:00
download.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
download_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
floppy_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
floppy_config_test.go tests actually test the floppies 2016-07-27 21:59:21 +01:00
http_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
http_config_test.go Refactor http server config into common 2015-11-01 14:45:47 -08:00
iso_config.go Revert "allow to use ISO images in-place v.s. copying them" 2018-08-20 10:48:06 +02:00
iso_config_test.go Remove tmp files created by common/ tests 2018-04-30 18:16:46 +01:00
multistep_debug.go fix imports 2018-01-24 17:09:17 -08:00
multistep_runner.go Use fmt to convert whatever's in error to a string. 2018-05-08 15:22:02 -07:00
packer_config.go Add -on-error command line argument to allow preserving artifacts on builder errors 2016-09-16 12:15:00 +00:00
progress.go 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
progress_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
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_create_floppy.go fix imports 2018-01-24 17:09:17 -08:00
step_create_floppy_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_download.go 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
step_download_test.go fix imports 2018-01-24 17:09:17 -08:00
step_http_server.go use build name to ensure that winrm password and other shared state is not overwritten if two builders need the password in the same packer run. 2018-04-16 13:41:17 -07:00
step_provision.go fix imports 2018-01-24 17:09:17 -08: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