Commit Graph

63 Commits (801e5aaa30ccb73fcf4ebee49b4c519aba610e16)

Author SHA1 Message Date
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
Mitchell Hashimoto 3ed73852be provisioner/shell: set -e on the shebang itself
11 years ago
Mitchell Hashimoto a995df352e provisioner/shell: uploaded script should be 0755 [GH-1708]
11 years ago
Mitchell Hashimoto 952077ccb0 provisioner/shell: set -e for inline [GH-2069]
11 years ago
Mitchell Hashimoto 2b4df93f2f provisioner/*: interpolation
11 years ago
Mitchell Hashimoto 3eda0f33a0 provisioner/shell: quote PACKER env vars [GH-1565]
11 years ago
Josh Frye 5835ca42b4 Move quoting to else block only for valid vars. Add test case.
12 years ago
Josh Frye a667282e00 Single quote env var values.
12 years ago
Ross Smith II d92179847d provisioner/file: set file/directory permissions
12 years ago
Mitchell Hashimoto 9365b879c0 provisioner/shell: chmod uploaded file to 0777 [GH-994]
12 years ago
Mitchell Hashimoto ec41edf558 provisioner/shell: Split on first equal for env vars [GH-1045]
12 years ago
Mitchell Hashimoto 528ae09c37 provisioner/shell: comment on why we return right away if advance == 0
13 years ago
Mitchell Hashimoto f673ca52ba provisoiner/shell: append only needs to add a byte for UnixReader
13 years ago
Matthew Hooker 104f5049a7 provisioner/shell: fix EOF detection
13 years ago
Mitchell Hashimoto ff970483c4 provisioner/shell: add more tests for UnixReader
13 years ago
Matthew Hooker 0d1b936f69 Fix UnixReader panic on empty lines.
13 years ago
Jason A. Beranek b3d76b7945 provisioner/shell: fix provisioner to use UnixReader [GH-477]
13 years ago
Mitchell Hashimoto 89d165aae7 provisioner/shell: add another UnixReader test for sanity
13 years ago
Mitchell Hashimoto abbac36796 provisioner/shell: convert windows line endings to Unix [GH-277]
13 years ago
Mitchell Hashimoto 28bf6122bd provisioner/*: implement Cancel
13 years ago
Mitchell Hashimoto a46c7afcf7 provisioner/shell: retry the upload if command fails as well
13 years ago
Mitchell Hashimoto 717746ce4f provisioner/shell: retry uploads if reboot [GH-282]
13 years ago
Mitchell Hashimoto 64d87bfaf3 *: switch to packer ConfigTemplate
13 years ago
Mitchell Hashimoto 21f92715c0 provisioner/shell: start_retry_timeout for reboot handling [GH-260]
13 years ago
Mitchell Hashimoto 332bdf6edc builder/*, provisioner/*: set user vars
13 years ago
Mitchell Hashimoto 3f1af409e2 provisioner/shell: tests passing and compiling
13 years ago
Mitchell Hashimoto f4b0e2248f provisioner/shell: convert to latest template stuff
13 years ago
Rafael Garcia 25af1c8bd4 provisioner/shell: state of the art config decoding
13 years ago
Mitchell Hashimoto b64a2532f4 provisioner/shell: use StartWithUi
13 years ago
Mitchell Hashimoto 0b5f4d9d17 provisioner/shell: make build name and builder type env vars [GH-154]
13 years ago
Mitchell Hashimoto 3b4ef72e47 Unused keys are invalid in templates [GH-104]
13 years ago
Mitchell Hashimoto 1745d4e831 provisioner/shell: close source script file handle
13 years ago
Mitchell Hashimoto b22743767e provisioner/shell: inline_shebang for inline scripts
13 years ago
Geoffrey Bachelet 43db2c23eb provisioner/shell: execute script directly instead of using /bin/sh
13 years ago
Mitchell Hashimoto 919c3935e1 Merge branch 'shell-env-vars'
13 years ago
Jack Pearkes d64797cc44 provisioner/shell: remove check for empty env vars config
13 years ago
Mitchell Hashimoto 17d0f5f71b provisioner/shell: rename "path" to "script"
13 years ago
Jack Pearkes e9d8e9f537 provisioner/shell: add support for environment variables to be injected
13 years ago
Mitchell Hashimoto 8cb2fd761e provisioner/shell: Error if a script fails
13 years ago
Mitchell Hashimoto e8cbb9f9b6 provisioner/shell: Error message if provisioning fails
13 years ago
Mitchell Hashimoto 9367df4a3f provisioner/shell: copy the scripts [GH-29]
13 years ago
Mitchell Hashimoto 7797676091 provisioner/shell: can specify multiple scripts to provision with
13 years ago
Mitchell Hashimoto 417f7e7f47 fmt
13 years ago
Mitchell Hashimoto 59b5902619 provisioner/shell: Support inline commands
13 years ago
Mitchell Hashimoto 690954cb51 provisioner/shell: validation
13 years ago
Mitchell Hashimoto 4a8278d49b provisioner/shell: Support setting the execute command
13 years ago