Commit Graph

534 Commits (710ebdcef5deaf9724db0e92a308ea6be151f8ca)

Author SHA1 Message Date
Megan Marsh 3fd589fa72 typos
7 years ago
Megan Marsh e2d8c0bfd7 docs
7 years ago
Megan Marsh 07c0c599e0 attach guest additions via SATA when necessasry
7 years ago
chris marget 53c0376dfd don't print keypair to the user's screen
7 years ago
chris marget 13cc73d600 keypair parsing and testing
7 years ago
Stephen Fox f9d24ccda0 Allow user to get public key straight up, or URL encoded.
7 years ago
Stephen Fox f2c11b55be Renamed authorized_keys public key function.
7 years ago
Stephen Fox 01c98f3d82 Tweaked debug SSH private key file name for vbox.
7 years ago
Stephen Fox c6ae8654d9 Moved SSH key pair code into 'helper/ssh'.
7 years ago
Stephen Fox 25775886a8 Properly set SSH key pair name.
7 years ago
Stephen Fox be081944b1 Moved new key pair funcs closer to builder funcs.
7 years ago
Stephen Fox b1b67ecffa Added support for setting a name in SSH key pair.
7 years ago
Stephen Fox 5893134c61 Updated comment for 'PrivateKeyPemBlock()'.
7 years ago
Stephen Fox cd4ae03324 Create / use SSH key pairs in vbox builders.
7 years ago
Stephen Fox 72d1501551 Made SSH public key available in vbox boot command.
7 years ago
Stephen Fox 459bd1ea7a Added vbox step for SSH key pair business logic.
7 years ago
Stephen Fox 6824806e6f Allow caller to specify new line for SSH public key.
7 years ago
Stephen Fox ad075ffac3 Added 'Description()' to 'sshKeyPair'.
7 years ago
Stephen Fox f233e54992 Initial SSH key pair helper implementation.
7 years ago
Megan Marsh 97a791389a deduplicate step_output_dir and move to common folder
7 years ago
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