Commit Graph

522 Commits (13ea97a1dfebf0980d45bbdc1a2148ae341b9840)

Author SHA1 Message Date
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 673245afcf
Replace boot command parser with PEG parser.
8 years ago
Andrew Pennebaker fdc6ac631a fix vbox scancodes and support critical key combinations during boot-time operations
8 years ago
Matthew Hooker 49958391b3
better error when source_path doesn't exist.
8 years ago
Megan Marsh 414dd80e61
Merge pull request #6013 from jsoref/spelling
8 years ago
Josh Soref 964d5dd55e spelling: mapstructure
8 years ago
Josh Soref 57c0e9e4a7 spelling: illegal
8 years ago
Josh Soref 041a115f65 spelling: existent
8 years ago
Megan Marsh 5055fa66aa
Merge pull request #5987 from mcandre/multibyte-scancodes
8 years ago
Megan Marsh 2a88672cd9 add test for modifyer keypress commands
8 years ago
Andrew Pennebaker 1d48812b34 fix later commands overwriting earlier commands
8 years ago
Andrew Pennebaker f305a2f4c2 send multibyte scancodes accurately to virtualbox
8 years ago
SwampDragons 7d5d62d748
Merge pull request #2906 from arizvisa/GH-2377
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
Matthew Hooker a831d522be
change run signatures
8 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Matthew Hooker ebe995c0ff
run goimports
8 years ago
Ali Rizvi-Santiago c17f827e1d Split up DownloadableURL() into it's individual components: SupportedURL(), DownloadableURL(), and ValidatedURL(). Updated all instances of DownloadableURL() to point to ValidatedURL(). Reverted the tests that are based on un-supported protocols.
8 years ago
Ali Rizvi-Santiago 3cf448f6ec Reverted previously removed additions of tests that check for ftp:// or nonexistent-protocol:// using DownloadableURL. DownloadableURL's responsibility is not to have inherent knowledge of protocols that are available, but to format an invalid url/path to a valid url/path.
8 years ago
Ali Rizvi-Santiago 5d97b105a8 Removed implementation of the ftp protocol and the usage of cheggaaa's progress-bar as suggested by @SwampDragons. Replaced some of the old smoke-tests that were based on the ftp-protocol non-existing with a "non-existent://" protocol that's guaranteed to not exist.
8 years ago
Ali Rizvi-Santiago e940dc7e42 Fixed a config_test that should've failed but didn't because ftp:// uris work now. HeH!
8 years ago
SwampDragons fb730cf521
Merge pull request #5761 from hashicorp/fix_5713
8 years ago
Megan Marsh 3ace5bb91b simplify FileExistsLocally
8 years ago
Megan Marsh 216c44b153 fix FileExistsLocally
8 years ago
Megan Marsh e164621bfe log line to help prevent confusion when guest_additions_url is set from env variable that is empty
8 years ago
Megan Marsh 4f3b470804 add helper function to manage validation of filepaths created using DownloadableURL
8 years ago
Ali Rizvi-Santiago 4fcd542d0c Fixed an issue where the VirtualBox builder was checking for whether guest_additions_url was empty or not before it actually interpolated any variables.
8 years ago
Megan Marsh 6756df9510 use url library instead of parsing string naiively
9 years ago
Megan Marsh 771349e58c fix error message
9 years ago
Megan Marsh 764be03876 didn't mean for this error message to get changed
9 years ago
Megan Marsh 0d18de2942 do validation in vmx config stage
9 years ago
Matthew Hooker fb098d045d
builder/virtualbox-ovf retry removing VM.
9 years ago
SLAZ666 f6bb79784f Add option keep_registered to virtualbox-ovf builder
9 years ago
Matthew Hooker 94d7a4ce8d
post-processor/vagrant-cloud: try upload once
9 years ago
Matthew Hooker ab81b3ef7d Merge pull request #4699 from BenPhegan/virtualbox_sata_port_count
9 years ago
Matthew Hooker 0c116981ab Merge pull request #4960 from rickard-von-essen/issue-4959
9 years ago
Rickard von Essen 31b93a3026 virtualbox: Don't add portforwarding if comm = none
9 years ago
JD Friedrikson a0052fdb68
Specify InsecureIgnoreHostKey for HostKeyCallback
9 years ago
Ben Phegan c4b8e8e5df Merge branch 'master' into virtualbox_sata_port_count
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 4fcbf75da9
s/non existent/nonexistent/
9 years ago
Matthew Hooker 35578d9ed1
remove unnecessary type conversions
9 years ago
Matthew Hooker 79287d7e47
simplify some code
9 years ago
Matthew Hooker 230079f73a
spell fixes
9 years ago
Matthew Hooker 35480e21b2
fix typo
9 years ago
Matthew Hooker 0ad6b169bc
builder/virtualbox: retry removing floppy controller
9 years ago
Ben Phegan 0c777a1d63 Fix for DriverMock not implementing Driver
9 years ago
Ben Phegan 67eb600c08 Add sata_port_count so that a SATA controller can be created with more than 1 port. The default of prevents additional drives being added. Default preserved if not overridden.
9 years ago
Matthew Hooker 68e2b150cd
builder/virtualbox: allow skipping upload of version file
9 years ago
Matthew Hooker 84fc62f6b2 Merge pull request #4496 from mitchellh/vmrmguest2
9 years ago
Matthew Hooker 70af3d8148 Merge pull request #4497 from mitchellh/f-clickable-links
9 years ago
Chris Bednarski facf27ceeb Make rdp and vnc links clickable by adding the protocol
9 years ago
Matthew Hooker e9e3215c38
builder/virtualbox: remove guest additions
9 years ago
Matthew Hooker 228bc9cfd3
use driver delete method
9 years ago
Matthew Hooker 22d1322bd9
always check for an error first when walking a path
9 years ago
Matthew Hooker d2e59e4e92
set PACKER_HTTP_ADDR env var when available.
9 years ago
Matthew Hooker a3da92dc97 Merge pull request #4339 from DanHam/gh-4131
9 years ago
Rickard von Essen 85cf00069f Merge pull request #4294 from legal90/iso-target-extension
9 years ago
DanHam ac769be49a
Pause between each boot command element rather than each char with -debug
9 years ago
DanHam 0ac071b6e7
Add option to skip export of installed VM for Virtualbox ISO & OVF builders
9 years ago
DanHam 686ec1866e
vbox builders now need to explicitly set WinRMPort for StepConnect
9 years ago
Matthew Hooker 2e358ae4a1 Revert "builder/virtualbox: group keyboard codes"
9 years ago
Matthew Hooker ee86dc87fd
fix broken test
9 years ago
Matthew Hooker aa177de54b
add test for #4247
9 years ago
Mikhail Zholobov 57d07f227a
Add "iso_target_extension" option for all local *-iso builders
9 years ago
Brian Ruff 038787ed48 Refactored to gather scan codes into groups to be sent to VirtualBox's console.
10 years ago
Arthur Burkart 337856811e Implements OVA downloads w/local checksum support
10 years ago
Rickard von Essen 96e9a8e6e9 Removed default value for ssh_username
10 years ago
Matthew Hooker d920b3fbf4 run gofmt
10 years ago
Arthur Burkart 4a00ffeea2 Closes #3999 - Support VirtualBox Trim/Discard
10 years ago
Rickard von Essen 3c8dabba9e Fixed formatting
10 years ago
Rickard von Essen 5e96709ee9 Merge pull request #2919 from arizvisa/floppy-recurse
10 years ago
Matthew Hooker b7e14c4354 Merge pull request #3952 from MikeStankavich/f-virtualbox-post-shutdown-delay
10 years ago
Matthew Hooker 127142215a Merge pull request #3954 from emo3/f-keepreq-vb
10 years ago
Ed Overton 1adb0a5fc3 added functionality like vm
10 years ago
Mike Stankavich a187b1cf92 Add VirtualBox post shutdown delay to address floppy controller delete error per issue #2401
10 years ago
Rickard von Essen 3ad7f067ab Merge pull request #2784 from orivej/fix-ssh-port-max
10 years ago
Rickard von Essen 29ae078326 Added missing virtualbox floppy_dirs
10 years ago
Rickard von Essen 06e3539ffa Merge pull request #3767 from taliesins/ExtendScanCodes
10 years ago
Orivej Desh 6762965696 Add -on-error command line argument to allow preserving artifacts on builder errors
10 years ago
Rickard von Essen 5cbc36103e Merge pull request #3756 from ricardclau/floppy_check
10 years ago
Lamoni Finlayson d02b106a16 Fix for issue #2972 - Implemented ssh_host for virtualbox builders (#3617)
10 years ago
Taliesin Sisson a87ad05866 Add support for ctrl, shift and alt keys.
10 years ago
Ricard Clau acededfc6e tests actually test the floppies
10 years ago
Ian Duffy 9ec319e296 Allow configurable VNC bind IP for VirtualBox builders
10 years ago
Sean Chittenden 3ca4782b56
Pause between boot_commands when debugging a Virtualbox build
10 years ago
James Bishopp bd8fb014c4 Removed ssh_key_path
10 years ago
Chris Bednarski 4458de4ea0 Reformat
10 years ago
Ian Duffy c4b64eb2c7 Closes #2637 - VRDP support for the virtualbox plugin
10 years ago
Chris Bednarski 24dc798cfb Revert "Prevalidate Hardware Specs on Linux"
10 years ago
Chris Bednarski ffb85f6ea5 Merge pull request #3096 from grubernaut/f-resource-limits
10 years ago
Jake Champlin eda84cb2d3 Prevalidate Hardware Specs on Linux
10 years ago
Chris Bednarski db0e098800 Merge pull request #2750 from rickard-von-essen/issue-2743
10 years ago
Mark Peek 7f149e595d Refactor http server config into common
11 years ago
Mark Peek cdcffecc2d Refactor builder ISO options
11 years ago
Mark Peek e9657e6a9f Merge pull request #2642 from oliviertremblay/master
11 years ago
Mark Peek e5a713ff01 Alternative fix for #2641: make random script name actually random
11 years ago
Orivej Desh 46d687d5ad Make ssh_host_port_max an inclusive bound to agree with documentation
11 years ago
Rickard von Essen e4dc543cae Fixes #2743: Change log messages for step_forward_ssh
11 years ago
Olivier Tremblay f301a6454d Added documentation, renamed config param to iso_target_path
11 years ago
Olivier Tremblay 223e35fc65 Makes StepDownload's TargetPath customizable.
11 years ago
Lorenzo Villani 7e64e90670 Use --portcount on VirtualBox 5.x
11 years ago
Mitchell Hashimoto 93bb0d86af builder/virtualbox: fix default names
11 years ago
Mitchell Hashimoto 84189f7a28 builder/*: properly save interpolation context
11 years ago
Mitchell Hashimoto d600456487 builder/virtualbox: fix interpolation weirdness
11 years ago
Mitchell Hashimoto 54e081d5af builder/virtualbox: only remove output dir after check
11 years ago
Mitchell Hashimoto 9c6d0dfc8b builder/virtualbox: fix type casting
11 years ago
Mitchell Hashimoto d9fceaf39d update CHANGELOG
11 years ago
Mitchell Hashimoto ba2cf18460 Merge branch 'master' of https://github.com/ldx/packer into ldx-master
11 years ago
Mitchell Hashimoto 70af21615e Merge pull request #2233 from mitchellh/b-output-dir
11 years ago
Mitchell Hashimoto 7fc69828c5 builder/virtualbox: fix forwarding to work with WinRM
11 years ago
Mitchell Hashimoto 115d583cff helper/communicator: make host more generic
11 years ago
Mitchell Hashimoto d5166a8e6c builder/virtualbox: use new communicator abstraction
11 years ago
Mitchell Hashimoto 3976a34d29 builder/virtualbox: validate output dir in step, no in config
11 years ago
Mark Peek 16320372d6 Make some builder config usage more consistent with other builders
11 years ago
Mitchell Hashimoto bd04b52b32 virtualbox/common: style
11 years ago
Mitchell Hashimoto 8d6a99457a Merge pull request #1078 from pleschev/skip_nat_port
11 years ago
Mitchell Hashimoto f6f9cca7ce Merge pull request #2189 from mitchellh/b-download-extension
11 years ago
Mitchell Hashimoto 23a48d6619 go fmt
11 years ago
Mitchell Hashimoto 20504da796 Merge pull request #2190 from mitchellh/b-http-addr
11 years ago
Mitchell Hashimoto 9f0b8b71db virtualbox,vmware: http server should listen on IPv4
11 years ago
Mitchell Hashimoto 9ea34d4ea8 virtualbox/iso: force iso extension for downloads
11 years ago
Mitchell Hashimoto 35246ba986 virtualbox/common: fix test
11 years ago
Mitchell Hashimoto b441348ba4 virtualbox/common: remove devices should delete floppy controller
11 years ago
Mitchell Hashimoto 0885e03bbf virtualbox/iso: acceptance test
11 years ago
jszwedko b1497b951c code.google.com/p/go.crypto/ssh -> golang.org/x/crypto/ssh
11 years ago
Mitchell Hashimoto 4bb16ac223 fix failing tests
11 years ago
Mitchell Hashimoto 0dc4226810 builder/virtualbox/ovf: new interpolation
11 years ago
Mitchell Hashimoto d15bc90453 builder/virtualbox/iso: new interpolation
11 years ago
Vilmos Nebehaj 956b9ded0a Try another ssh port if the current one is taken.
11 years ago
Emil Hessman 96b62af551 builder/virtualbox/iso: fix incorrect printf verb type
11 years ago
Danny Lockard 7d1b95c907 Formatting fix :)
11 years ago
Danny Lockard 84d6d856f6 Add the ability to create a SCSI Device as the main HD controller for
11 years ago
pleschev 431647997c Merge pull request #2 from mitchellh/master
12 years ago
Mitchell Hashimoto 0db6cd3533 Merge pull request #1330 from qur/qemu-vagrant
12 years ago
Mitchell Hashimoto 83772fc5b8 Merge pull request #1509 from kamazee/fix_detecting_guest_additions_when_sysprop_empty
12 years ago
Konstantinos Koukopoulos a8b8658245 figure out VirtualBox version on FreeBSD
12 years ago
Julian Phillips 90a57c411f Expand Artifact API to expose build state
12 years ago
Alexander Kurilo 3592d67093 Fix detecting guest additions URL
12 years ago
Mitchell Hashimoto 75395af12d Merge branch '1064-fix-upload-file-permissions' of github.com:rasa/packer into rasa-1064-fix-upload-file-permissions
12 years ago
Mitchell Hashimoto bfdc6ea6b7 builder/virtualbox: support http server for ovf [GH-1169]
12 years ago
Mitchell Hashimoto c74f0c7cfe Merge branch '1082-add-boot-commands-to-vmx-and-ovf-builders' of github.com:rasa/packer into rasa-1082-add-boot-commands-to-vmx-and-ovf-builders
12 years ago
Mitchell Hashimoto 9b2039121f builder/virtualbox-ovf: import_flags [GH-1383]
12 years ago
Mitchell Hashimoto 863e06a614 builder/virtualbox: comment
12 years ago
Mitchell Hashimoto f54f09d7a3 builder/virtualbox: detect vboxmanage errors with zero code [GH-1119]
12 years ago
Mitchell Hashimoto 77bd024079 builder/*: fix flaky tests, get tests passing
12 years ago
Mitchell Hashimoto c0f9dbde41 builder/virtualbox: search VBOX_MSI_INSTALL_PATH [GH-1337]
12 years ago
Mitchell Hashimoto 749baa19c4 builder/virtualbox/iso: append timestamp to name [GH-1365]
12 years ago
Mitchell Hashimoto 28de122579 builder/virtualbox: fix typo
12 years ago
Mitchell Hashimoto 94f385ecf9 builder/virtualbox: error if guest additions URL can't be read [GH-1439]
12 years ago
Mitchell Hashimoto 76a8221636 builder/*: extract key path to ssh.Signer
12 years ago
Mitchell Hashimoto c185fa42f3 Merge pull request #1200 from zigg/feature/virtualbox-iso-sata
12 years ago
Mitchell Hashimoto 4ef3874467 builder/virtualbox-*: seed RNG [GH-1386]
12 years ago
Hiroaki Nakamura 7549735bd3 Accept VirtualBox release candidate version (ex. 4.3.14_RC1 from 4.3.14_RC1r94870)
12 years ago
Matt Behrens 9eb32e5dcd implement `iso_interface` setting
12 years ago
Ross Smith II e93697ab4e builder/virtualbox-ovf,vmware-vmx: add `boot_command` support
12 years ago
Ross Smith II d92179847d provisioner/file: set file/directory permissions
12 years ago
Ross Smith II 58fd5aec61 virtualbox: use local VBoxGuestAdditions.iso by default
12 years ago
Jakob A. Dam 40150c376d Fix http_files typo in comments
12 years ago
Rickard von Essen c2013bf680 virtualbox-ovf support for guest_additions_mode
12 years ago
Jacob Helwig 38e880a187 Add ability to run vboxmanage commands just before exporting [GH-664]
12 years ago
Peter Leschev eef3223f6c Adding the ability to skip nat port forwarding for ssh connectivity
12 years ago
Mitchell Hashimoto 83add3969f builder/virtualbox: fix deps
12 years ago
Mitchell Hashimoto 5fac6c79c4 fmt
12 years ago
Mitchell Hashimoto e84e5e4f2c Merge branch 'update-ssh-package' of github.com:higebu/packer into higebu-update-ssh-package
12 years ago
Ross Smith II 850b066408 Merge pull request #945 from benlangfeld:feature/vb_output_opts (manually)
12 years ago
higebu f087ce16dc Fix the build problem by updating ssh package
12 years ago
Ross Smith II 27491f93f8 use old ssh code until higebu's branch is ready, see #1019
12 years ago
Ben Langfeld 128f555a2c Formatting
12 years ago
Ben Langfeld 5b07e2604c Fix export opts tests
12 years ago
Ben Langfeld 8cf0e53b19 Properly apply templates to export opts
12 years ago
Ben Langfeld 2cee7a5c10 Log export command being executed
12 years ago
Ben Langfeld bfd6755859 Move to an array of strings for a deterministic option separation
12 years ago
Ben Langfeld d1b41f2f14 Pass export_options individually to VBoxManage export
12 years ago
Ben Langfeld 0332901f63 builder/virtualbox: Add an `export_opts` option
12 years ago
Mitchell Hashimoto 239aabb554 builder/virtualbox: retry unregister a few times [GH-915]
12 years ago
Brian Johnson ac2c4203a2 Add import_opts to the virtualbox-ovf builder. My use case is that I
12 years ago
Mitchell Hashimoto 430963f400 fmt
12 years ago
Myles Steinhauser 28286d2821 Fix tabs vs spaces
12 years ago
Myles Steinhauser e4cfcb2a8a Add more special scancodes
12 years ago
Mitchell Hashimoto 12938fe36b builder/virtualbox,vmware: checksum not required if checksum type is
12 years ago
Greg Lu 6d2e50e598 builder/virtualbox/ovf: fix shutdown_timeout handling
12 years ago
Mitchell Hashimoto 2b801a7b12 builder/vmware,virtualbox: checksum_type can be "none" [GH-471]
12 years ago
Mitchell Hashimoto 437dc12de3 builder/virtualbox/iso: load shutdown config [GH-754]
12 years ago
Mitchell Hashimoto eeeaec3562 builder/vmware/vmx: StepCloneVMX
13 years ago
Mitchell Hashimoto 39d0600085 builder/virtualbox: fmt
13 years ago
Mitchell Hashimoto c7bf38b63b builder/virtualbox/common: only remove ISO if it was attached
13 years ago
Mitchell Hashimoto 473fe8a950 builder/virtualbox/ovf: instantiate the driver
13 years ago
Mitchell Hashimoto c2b3fa732a builder/virtualbox/ovf: validate source_path
13 years ago
Mitchell Hashimoto e69bb1858c builder/virtualbox/ovf: specify name for import
13 years ago
Mitchell Hashimoto 5b223f0798 builder/virtualbox/ovf: re-order some steps
13 years ago
Mitchell Hashimoto dd767c9d54 builder/virtualbox/ovf: StepImport to import an OVF
13 years ago
Mitchell Hashimoto 0de7bb33cd builder/virtualbox: set Tpl on VBoxManage
13 years ago
Mitchell Hashimoto e51dde13ce builder/virtualbox: tests for StepUploadVerison
13 years ago
Mitchell Hashimoto 5f1c597269 builder/virtualbox: StepUploadVersion
13 years ago