Commit Graph

377 Commits (7efe3cac3d5e728ee471bbccfd1043e06e4dcafe)

Author SHA1 Message Date
M. Marsh e5a63a674e
Merge pull request #6422 from DanHam/fix-gh-vmsecureboot
8 years ago
M. Marsh baaca808e8
Merge pull request #6412 from hashicorp/fix_config_validation_bug_windows_shell_local
8 years ago
DanHam 297f6b85ec
Use Get-Command over Get-Help to check for SecureBootTemplate parameter
8 years ago
Simon Hulme 475e79a251 Fixed SecureBootTemplate not being passed through to PS cmdlet
8 years ago
Megan Marsh 4a7953f93a found a config validation bug where packer crashes instead of throwing a validation error if a windows-style path is provided to a provisioner on linux
8 years ago
Jordan Borean efa9021974
Check if hyper-v addresses is an array before slicing it
8 years ago
Giovanni Tirloni 28095cf027 Do not return error on initial HEAD request
8 years ago
Giovanni Tirloni b7ea0b44fc HTTPDownloader - Fix invalid error handling
8 years ago
M. Marsh a012f70e71
Merge pull request #6251 from hashicorp/do_winrm_shell_local
8 years ago
Megan Marsh 3afca6905b remove duplicate assignmnet
8 years ago
Matthew Hooker 6a769f08d8
regenerate boot command code
8 years ago
Matthew Hooker 788418cff2
Add unit test to show that we handle tars safely
8 years ago
Megan Marsh 846f94c964 implement template variable for accessing WinRM password in either environemnt variables or directly in execute_command or inline commands.
8 years ago
M. Marsh 62e1323577
Merge pull request #5956 from hashicorp/dedupe_shell_local
8 years ago
Megan Marsh d1e31c0f23 use if/else to clarify code
8 years ago
Megan Marsh 969201a2d4 handle minor shell-local PR suggestions and corrections
8 years ago
Megan Marsh 1fdf763d0f fancier logging
8 years ago
M. Marsh edb5c1f50d
Merge pull request #6243 from camjjack/hyper-v-gui
8 years ago
WaaZaa666 b747877222
Fixing #6267, multiple hyper-v disks
8 years ago
Unknown 29c4b4436d Changes requested in PR #6243
8 years ago
Unknown fc734b6bd9 Using vmconnect to display gui for hyper-v
8 years ago
M. Marsh 5871b8242b
Merge pull request #6101 from adarobin/azurecompatible
8 years ago
Stefan Henseler 6f00596053 Adds config option to specify hyper-v secure boot template
8 years ago
DanHam d9d8b93c14
Remove tmp file created by common/ test. Avoid possible race condition.
8 years ago
M. Marsh 7c46e3d89c
Merge pull request #6207 from gtirloni/issue-6203
8 years ago
Matthew Hooker 5e6e12cacd
Use fmt to convert whatever's in error to a string.
8 years ago
Matthew Hooker 0a1842140b
Display build error when on-error=ask|abort
8 years ago
Megan Marsh 1bea658e16 fix command and inline calls on windows
8 years ago
Megan Marsh fabd1a6517 windows cmd env vars
8 years ago
Megan Marsh 9651432378 preserver BC for people using 'command' option
8 years ago
Megan Marsh dd183f22d9 update docs and add warnings around WSL limitations
8 years ago
Megan Marsh 51bcc7aa13 add new feature for telling shell-local whether to use linux pathing on windows; update docs with some examples.
8 years ago
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
8 years ago
Megan Marsh 5da4377f21 first pass at docs update
8 years ago
Megan Marsh 854d6fb141 add tests making sure post-processor has backwards compatability
8 years ago
Megan Marsh f799003b66 tighten up shell-local config validation
8 years ago
Megan Marsh 479d36734d consolidate shell-local defaulting of InlineShebang and ExecuteCommand to the config validation
8 years ago
Megan Marsh d304234725 fix tests
8 years ago
Megan Marsh 67739270bb pull temp file writing into its own function for easier testing
8 years ago
Megan Marsh 6dc4b1cbdc move all of the run commands for shell-local provisioner and postprocessor into common library too
8 years ago
Megan Marsh c7c66bedcb set inline to an empty array, rather than nil
8 years ago
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.
8 years ago
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
8 years ago
M. Marsh bf6dc932d5
Merge pull request #6219 from jborean93/hyper-v-ip
8 years ago
DanHam 7e478f650e
Remove tmp files created by common/ tests
8 years ago
Jordan Borean 14e41fad7e
Hyper-V: Add support retrieving IP for Server 2008
8 years ago
Giovanni Tirloni 413d13c411
Handle HTTP download errors
8 years ago
Adam Robinson 3aebd5f462 Add use_fixed_vhd_format Hyper-V ISO option
8 years ago
Matthew Hooker a3bf2c786a
Use expression sequence generator in tests.
8 years ago
M. Marsh 69c7e2d51d
Merge pull request #6144 from hashicorp/winrm_password_fix
8 years ago
Matthew Hooker e4bd30e53d
fix bug with empty boot command.
8 years ago
Matthew Hooker b5a97e468f
fix test
8 years ago
Matthew Hooker 7e9af8247a
fix 2 byte scancodes for pc-xt VMs.
8 years ago
Matthew Hooker 675eae1e92
flush scancodes when we wait
8 years ago
Matthew Hooker 374d8f089f
better log message
8 years ago
Matthew Hooker 31d04f1945
remove outdated comment
8 years ago
Matthew Hooker df6224d04e
fix vnc config
8 years ago
Matthew Hooker aa69bdf74e
Perform validation of boot command.
8 years ago
Matthew Hooker 7d43324359
add menu key.
8 years ago
Matthew Hooker e9e27941cc
sort keycode lists
8 years ago
Matthew Hooker c6299972b9
s/boot_command/bootcommand/
8 years ago
Matthew Hooker 7990966a09
fix boot command config struct name
8 years ago
Matthew Hooker 408eba88ad
flatten boot command config and implement for vmware
8 years ago
Matthew Hooker 9a8acbbcab
negative wait WIP
8 years ago
Matthew Hooker add7e8acb9
Stop sending boot commands when context canceled.
8 years ago
Matthew Hooker 94129b7fe3
we're using PC-XT (set1) not PC-AT
8 years ago
Matthew Hooker a46a7afa20
Remove old tests.
8 years ago
Matthew Hooker e2e7bc65fd
Make special keys case insensitive.
8 years ago
Matthew Hooker cba4d3235f
cleanup
8 years ago
Matthew Hooker bdb1eee7d8
Implement new parser for HyperV boot command
8 years ago
Matthew Hooker f9ad264f4d
Comments
8 years ago
Matthew Hooker 81d127768c
Add key press interval to virtualbox.
8 years ago
Matthew Hooker 59376294ef
Maximize scancode throughput.
8 years ago
Matthew Hooker 9b7704c714
Implement new parser for Parallels boot command
8 years ago
Matthew Hooker 99d61920d0
Abstract vbox driver into PC-AT driver.
8 years ago
Matthew Hooker e4af71858f
Implement new parser for Virtualbox boot command
8 years ago
Matthew Hooker 1c0af28662
Some cleanup and comments.
8 years ago
Matthew Hooker 673245afcf
Replace boot command parser with PEG parser.
8 years ago
M. Marsh f5c031baf9
Merge pull request #5941 from synax/hyper-v-disk-block-size
8 years ago
Stefan Henseler b8bf421dc2 Fixes missing diskblocksize parameter for gen1 vms
8 years ago
Megan Marsh 3afb243f11 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.
8 years ago
Seth Vargo b17b333e29
Add a common package for specifying useragent and adopt that everywhere
8 years ago
Hannu Piki 3ffaf551c0 Fixing Hyper-V ISO builder CopyExportedVirtualMachine PowerShell
8 years ago
Stefan Henseler 03f0b4aa11 Fixes minor typo
8 years ago
Stefan Henseler d31e35075e Removes obsolete code
8 years ago
Megan Marsh d689e6b4d3 allow users of AWS to use the dynamically-generated admin password which we use as the winRM password as an elevated password in the Powershell provisioner, as well as an environment variable in same provisoner.
8 years ago
Josh Soref 5178dd36e8 spelling: regular
8 years ago
Stefan Henseler a6b0bd2927
Merge branch 'master' into hyper-v-disk-block-size
8 years ago
Stefan Henseler 103186af86 Adds Support to configure hyper-v disk block size
8 years ago
Anthony Allen f3c361de6b Fully qualify hyper-v powershell commands
8 years ago
SwampDragons 7d5d62d748
Merge pull request #2906 from arizvisa/GH-2377
8 years ago
Ali Rizvi-Santiago 9eb2f37429 Ack! Forgot to include the test-fixtures/SomeDir/myfile.txt file...
8 years ago
Ali Rizvi-Santiago d4b00b722a Removed an extra '/' from the TestFileExistsLocally test in common/config_test.go
8 years ago
Ali Rizvi-Santiago efc97dbda2 Fixed TestFileExistsLocally tests in common/config_test.go so that they're actually being run. Added a non-existent-protocol:// test.
8 years ago
Ali Rizvi-Santiago c366a1e160 Inverted the logic of FileExistsLocally as suggested by @SwampDragons as remote URLs are assumed to exist locally.
8 years ago
Ali Rizvi-Santiago c98a074f0d Renamed common/config.go's SupportedURL to SupportedProtocol as suggested by @SwampDragons.
8 years ago
Ben Phegan 3c88e787df
Merge branch 'master' into hyperv_mac_address
8 years ago
Matthew Hooker 8cd403425e
test fixes WIP
8 years ago
Matthew Hooker 5d48d658b4
Wire context through misc steps
8 years ago
Matthew Hooker 7a189a83a1
fix imports
8 years ago