9964 Commits

Author SHA1 Message Date
Megan Marsh
2b2bd5715c fix docs 2018-05-07 15:10:10 -07:00
Megan Marsh
1bea658e16 fix command and inline calls on windows 2018-05-07 15:10:10 -07:00
Megan Marsh
fabd1a6517 windows cmd env vars 2018-05-07 15:10:10 -07:00
Megan Marsh
9651432378 preserver BC for people using 'command' option 2018-05-07 15:10:10 -07:00
Megan Marsh
dd183f22d9 update docs and add warnings around WSL limitations 2018-05-07 15:10:10 -07:00
Megan Marsh
51bcc7aa13 add new feature for telling shell-local whether to use linux pathing on windows; update docs with some examples. 2018-05-07 15:10:10 -07:00
Megan Marsh
e983a94a88 fix default windows bash call for shell-local provisioner and move chmod command from the execute_command array into the portion of code where we actually generate inline scripts, sparing users the need to think about this modification which Packer should really handle on its own
make bash call work on windows
2018-05-07 15:10:10 -07:00
Megan Marsh
5da4377f21 first pass at docs update 2018-05-07 15:10:10 -07:00
Megan Marsh
854d6fb141 add tests making sure post-processor has backwards compatability 2018-05-07 15:10:10 -07:00
Megan Marsh
f799003b66 tighten up shell-local config validation 2018-05-07 15:10:10 -07:00
Megan Marsh
479d36734d consolidate shell-local defaulting of InlineShebang and ExecuteCommand to the config validation 2018-05-07 15:10:10 -07:00
Megan Marsh
d304234725 fix tests 2018-05-07 15:10:10 -07:00
Megan Marsh
67739270bb pull temp file writing into its own function for easier testing 2018-05-07 15:10:10 -07:00
Megan Marsh
6dc4b1cbdc move all of the run commands for shell-local provisioner and postprocessor into common library too 2018-05-07 15:10:09 -07:00
Megan Marsh
c7c66bedcb set inline to an empty array, rather than nil 2018-05-07 15:10:09 -07:00
Megan Marsh
926327beba deduplicate all validation and interpolation of the shell-local config, sharing options between shell-local provisioner and post-processor. Maintain backwards compatibility with shell-local provisioner. 2018-05-07 15:10:09 -07:00
Megan Marsh
616b41e58f deduplicate the nearly identical communicators for the shell-local provisioner and post-processor, moving single communicator into a new common/shell-local module 2018-05-07 15:10:09 -07:00
M. Marsh
23e51d21c2
Merge pull request #4300 from don-code/master
Allow skipping Chef Client staging directory cleanup.
2018-05-07 14:25:57 -07:00
Christopher Boumenot
80a096cadd azure: device login for US Gov 2018-05-06 20:59:38 -07:00
M. Marsh
12046fc6b9
Merge pull request #6239 from hashicorp/fix_6151
remove file stat
2018-05-04 16:42:44 -07:00
M. Marsh
bf6dc932d5
Merge pull request #6219 from jborean93/hyper-v-ip
Hyper-V: Add support retrieving IP for Server 2008 R2
2018-05-04 12:56:17 -07:00
Paul Meyer
4dcf9d760b
Update CHANGELOG.md 2018-05-04 09:50:20 -07:00
Paul Meyer
8dd46aff47
Update CHANGELOG.md 2018-05-04 09:49:31 -07:00
Paul Meyer
8aee53ebe9
Merge pull request #6224 from paulmey/update-azure-sdk
Update Azure SDK
2018-05-04 09:47:28 -07:00
Rickard von Essen
4be5f072c7
Merge pull request #6238 from DanHam/fix-scaleway-auto-ssh-key
Fix use of automatically generated ssh key for Scaleway
2018-05-04 13:35:03 +02:00
Paul Meyer
169f9d22e6 Update 'the other place' too 2018-05-04 00:32:15 +00:00
Paul Meyer
80f57308d7 Process review feedback 2018-05-04 00:28:34 +00:00
Christopher Boumenot
420a5842b9
Merge pull request #6231 from cantorek/f-randomize-osdiskname
Randomize osDisk name for Azure Managed Image builds.
2018-05-03 14:55:42 -07:00
Matthew Hooker
0521efa200
correctly log reason waiting for ami failed. 2018-05-03 12:27:09 -07:00
Matthew Hooker
6ff69461f5
remove bad newline 2018-05-03 12:26:55 -07:00
Megan Marsh
fbbcbd772b remove file stat 2018-05-03 11:08:41 -07:00
Matthew Hooker
7d5ebd5500
Merge pull request #6217 from alessiot77/5887
Feature Request: Log reason why AMI creation failed
2018-05-03 10:57:46 -07:00
DanHam
c47e5d19f0
Fix use of auto generated ssh key for scaleway builder 2018-05-03 11:33:28 +01:00
DanHam
585b93cfd6
Follow variable privateKey <-> statebag private_key convention 2018-05-03 00:33:12 +01:00
Oskar Wycislak
78d68880c0 Randomize osDisk name for Azure Managed Image builds.
This fixes #6115
2018-05-02 22:42:08 +02:00
Paul Meyer
07d8c71a2d Create and use context for Builder.Run 2018-05-01 23:40:40 +00:00
Matthew Patton
735f5273a0 tab/space fixup via gofmt 2018-05-01 17:16:47 -04:00
Matthew Patton
b2d78339b0 add missing removeDir() to allow StagingDir clean-up post-run 2018-05-01 17:04:40 -04:00
Matthew Patton
514a597825 alphabetize datastructures 2018-05-01 16:38:01 -04:00
Matthew Hooker
64d1265ab8
Merge pull request #6227 from hashicorp/revert-4494
Revert "Merge pull request #4494 from tb3088/EOL-handling"
2018-05-01 13:11:39 -07:00
Matthew Hooker
2fc67f2210
Revert "Merge pull request #4494 from tb3088/EOL-handling"
This reverts commit dfe4f56c75abe1fb25f5453a5e7828a4c2504260, reversing
changes made to e90c87f88524c2f4a41f4b721e3b7b0eb29eafcc.

Revert changes to makefile and format checker
2018-05-01 13:09:55 -07:00
M. Marsh
dfe4f56c75
Merge pull request #4494 from tb3088/EOL-handling
Eol handling for the Repo and build process
2018-05-01 13:00:15 -07:00
M. Marsh
e90c87f885
Merge pull request #6210 from hashicorp/add_windows_sql_cloud_to_defaults
add windows-sql-cloud to the list of projects to check for an image name
2018-05-01 12:57:10 -07:00
Paul Meyer
cf94086b5f Formatting fixes 2018-05-01 19:53:20 +00:00
Matthew Hooker
6260151034
Merge pull request #6226 from hashicorp/fix6225
builder/qemu: properly prepare boot command.
2018-05-01 12:41:11 -07:00
Matthew Hooker
4f1395e0f6
builder/qemu: properly prepare boot command. 2018-05-01 12:40:00 -07:00
M. Marsh
a56f3ea538
Merge pull request #6200 from DanHam/cleanup-tmp-test-files
Clean up tmp files created by tests
2018-05-01 12:02:58 -07:00
Paul Meyer
c13965c0ce Add acceptance tests 2018-05-01 15:39:50 +00:00
Paul Meyer
a3fb24639a make tests pass again 2018-05-01 15:39:50 +00:00
Paul Meyer
09ce3c9803 Make it compile again 2018-05-01 15:39:50 +00:00