Commit Graph

564 Commits (5aed151b1f72d30e6bd52fa2dad2efbb600fe5a5)

Author SHA1 Message Date
Adrien Delorme c8a39e939a
Merge pull request #7178 from edwardmlyte/simplify-version-check
7 years ago
Ed Maxwell-Lyte e8e92fe6c6 rename clashing import
7 years ago
Ed Maxwell-Lyte 4437f8d8ba Use go-version for comparison
7 years ago
Ed Maxwell-Lyte 346f5d9bba Simplify version check for port count argument
7 years ago
Adrien Delorme 9f7b4ffc17
Merge branch 'master' into pr/6950
7 years ago
Ed Maxwell-Lyte 4fc02ea406 Assign to existing var
7 years ago
Adrien Delorme f91b668617
Create portCountArg in the if statement
7 years ago
Ed Maxwell-Lyte a9eed311a6 Run gofmt on driver_4_2.go
7 years ago
Ed Maxwell-Lyte e5b1e0f4d9 Add version 0.x to the rule
7 years ago
Ed Maxwell-Lyte e40c90423f Reverse default port count virtualbox argument
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Megan Marsh a819217c93 fix virtualbox 6.0 beta command options
7 years ago
Megan Marsh 6728244480 simplify for loop logic
8 years ago
Andrew Pennebaker c05ac784d3 fix tests
8 years ago
Andrew Pennebaker 5ada3376b8 fix test
8 years ago
Andrew Pennebaker 2c989157e4 gofmt
8 years ago
Andrew Pennebaker 5b6cbeed1d expose `--iso` option down in `VBoxManage export --iso` up to virtualbox-iso configuration as "bundle_iso"; ensure ISOs are not removed when this is enabled.
8 years ago
Ali Rizvi-Santiago 0f019407d6 Updated things related to the general hw config in the virtualbox builders to correspond to @azr's suggestions.
8 years ago
Ali Rizvi-Santiago eca26f43f2 Renamed both `cpu_count` and `memory_size` to `cpus` and `memory` (respective).
8 years ago
Ali Rizvi-Santiago 51948daf92 Added options for the cpu count, memory, audio, and usb to the virtualbox builder.
8 years ago
Adrien Delorme 410bee0666 make TestStepShutdown_shutdownDelay less strict on schedule
8 years ago
Adrien Delorme 0237956e66 builder/virtualbox/common/step_shutdown_test.go: compare durations instead of floats & ouput duration
8 years ago
Megan Marsh 38cc525ec7 new option allowing user to clean up the ephemeral ssh key from the authorized_keys file
8 years ago
Adrien Delorme 51d2aac9f6 SSHPrivateKey => SSHPrivateKeyFile
8 years ago
Megan Marsh 340363a649
Merge pull request #6613 from hashicorp/merge_ssh_config_funcs
8 years ago
Megan Marsh 31d4f8af45 use a time.Duration instead of a hardcoded ms
8 years ago
Megan Marsh 918db58604 added new template variables to replace PACKER_KEY_INTERVAL with tunable key and keygroup intervals depending on driver used
8 years ago
Adrien Delorme 41f6e0334d refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
8 years ago
Adrien Delorme 6b3844a64f
Revert "allow to use ISO images in-place v.s. copying them"
8 years ago
Adrien Delorme 17f2949e36 remove stuttering; ISOConfig.InplaceISO -> Inplace
8 years ago
Adrien Delorme 82e480a285 allow to use ISO images inplace v.s. copying them
8 years ago
M. Marsh c67d59515c
Merge pull request #6370 from arizvisa/patch-1
8 years ago
Alexander Georgievskiy ec8747a042 They finally added https on download.virtualbox.org
8 years ago
Ali Rizvi-Santiago 47a3315fde
Added a missing reference to the "path/filepath" module.
8 years ago
Ali Rizvi-Santiago 963932699e
Remove a stray tab that resulted from poor usage of Github's file editor.
8 years ago
Ali Rizvi-Santiago 9b30c9aed0
Allow StepAttachIso in the VirtualBox builder to resolve symbolic links when processing the IsoPath.
8 years ago
DanHam 13b7078cb0
Remove tmp directories created by builder/virtualbox/common tests
8 years ago
Matthew Hooker a0c9ddb9ae
implement boot config struct for virtualbox
8 years ago
Matthew Hooker c6299972b9
s/boot_command/bootcommand/
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 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 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