Commit Graph

108 Commits (70aa0516deb7cd0d03d321fa025fa5ae581bb883)

Author SHA1 Message Date
nywilken 3522e13b1e provisioner/shell: Add `env_var_format` support to shell provisioner
6 years ago
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
6 years ago
Lars Lehtonen 9c19cfdc6f
provisioner/shell: fix dropped error
6 years ago
Adrien Delorme d72040f4fa move retry code into the common/retry pkg and make retry context aware
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
7 years ago
Adrien Delorme c7ce4d598e change Provisioner to be passed a context for cancellation
7 years ago
Adrien Delorme 72e5ae9ddc use ValidExitCode in provisioners windows-shell, powershell and shell
7 years ago
Adrien Delorme 30a65c858a regroup shell provisioner params into a common struct
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Megan Marsh e69391f28b save users some bash scripting by exposing IP and port separately as well as together
7 years ago
Adrien Delorme 56fd98552e
removed space
7 years ago
Mark Meyer 31afd1c2f8 Add PauseAfter option to shell provisioner
7 years ago
Megan Marsh 266a48a73a minor fixes for shell provisioner docs and logging
8 years ago
Megan Marsh ab13c73277 make varfile name unique and make sure to remove it from guest system if cleanup is true.
8 years ago
Megan Marsh 2c9a205f11 update shell provisioner tests
8 years ago
Megan Marsh cce13e3877 shell provisioner: add option to source env vars from a file
8 years ago
Megan Marsh fbbcbd772b remove file stat
8 years ago
Matthew Hooker 732a532d0e
pass file info during shell file upload
8 years ago
Matthew Hooker ecad3348b3
rephrase log message.
8 years ago
Ohad Basan 33b85b0130 Add suggestion for "expected_disconnect" option if disconnection occurs
8 years ago
Matthew Hooker 75111e49e9
remove convoluted pointer logic
8 years ago
Megan Marsh 401c718a59 set default for ExpectDisconnect to false
9 years ago
Matthew Hooker 56979a1974
Revert "Universally provide POSIX semantics for the `shell` provisioner."
9 years ago
Sean Chittenden 1ba7f9cc20
Universally provide POSIX semantics for the `shell` provisioner.
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 0149f679de
Print instead of Printf with no dynamic first variable.
9 years ago
DanHam e350739ecb
post-processor/shell-local: expand tests to align with shell provisioner
9 years ago
DanHam 4514b1b10f provisioner/shell: expand tests to align with powershell/win-shell
9 years ago
DanHam 0cbb4ff30c provisioner/shell: Align gen of flattened env vars with powershell/win-shell
9 years ago
Matthew Hooker 4e6a44f5f1
append will resize
9 years ago
Matthew Hooker 480398c3d2
only set PACKER_HTTP_ADDR if a server is listening
9 years ago
Matthew Hooker d2e59e4e92
set PACKER_HTTP_ADDR env var when available.
9 years ago
Matthew Hooker 12176b6afc
provisioner/shell: treat disconnects as retryable.
9 years ago
Matthew Hooker 892d5e82c9 expect_disconnect option
9 years ago
Matthew Hooker a8e57d83d2 gofmt project.
10 years ago
Ian Duffy 7e653370b7 Seperate remote_path into remote_folder and remote_script. (#3462)
10 years ago
Chris Bednarski 1f6749096a Restore missing interpolation after merging ansible remote; fixes #3138
10 years ago
Chris Bednarski 15f99a4aee Merge branch 'ansible-provisioner' of https://github.com/bhcleek/packer into f-ansible
10 years ago
David Zanetti 2668747c71 Rename noclean shell option to skip_clean, per pull feedback
10 years ago
David Zanetti 3d23655f2f Add "noclean" boolean to shell provisioner. This stops the provisioner from
10 years ago
Billie H. Cleek cc8ca3098e add ansible provisioner
10 years ago
Mitchell Hashimoto 7c8e86c9c5 provisioner/*: fix interpolation context
11 years ago
Mitchell Hashimoto 6ec428cc38 provisioner/shell: retry file delete [GH-2286]
11 years ago
Mitchell Hashimoto 4463083a60 provisioner/shell: randomize default script name
11 years ago
Mitchell Hashimoto 6c80228661 provisioner/shell: missing error arg
11 years ago
Mitchell Hashimoto a235419c7d provisioner/shell: remove file after exec [GH-1536]
11 years ago
Mitchell Hashimoto c549fce85e provisioner/shell: escape single quotes [GH-2067]
11 years ago
Mitchell Hashimoto 7830d78d06 provisioner/shell: fix tests
11 years ago
Mitchell Hashimoto b28f946be9 Merge pull request #2210 from mitchellh/b-set-e
11 years ago