Commit Graph

310 Commits (1e86c49e321e16cd68d935b0d4bbbf05ba511b21)

Author SHA1 Message Date
Megan Marsh 3dc1dafe58
Merge pull request #7287 from stephen-fox/ephemeral-ssh-key-pair-issue-7225
7 years ago
Stephen Fox 7e1cbc6d89 Rename references to key pair name to comment.
7 years ago
Stephen Fox 61a8968b22 Use 'os.OpenFile' to atomically create debug key file.
7 years ago
Stephen Fox 094c87e395 Remove 'SSHPublicKeyUrlEncoded', use 'urlquery' instead.
7 years ago
Stephen Fox 2ef6b9247d Initial take on code review feedback from @azr.
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 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
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
Alexander Georgievskiy ec8747a042 They finally added https on download.virtualbox.org
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
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
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
Megan Marsh e164621bfe log line to help prevent confusion when guest_additions_url is set from env variable that is empty
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
Matthew Hooker fb098d045d
builder/virtualbox-ovf retry removing VM.
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 35578d9ed1
remove unnecessary type conversions
9 years ago
Matthew Hooker 79287d7e47
simplify some code
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 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
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
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
Brian Ruff 038787ed48 Refactored to gather scan codes into groups to be sent to VirtualBox's console.
10 years ago
Rickard von Essen 96e9a8e6e9 Removed default value for ssh_username
10 years ago
Matthew Hooker d920b3fbf4 run gofmt
10 years ago
Rickard von Essen 3c8dabba9e Fixed formatting
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 06e3539ffa Merge pull request #3767 from taliesins/ExtendScanCodes
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
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
Lorenzo Villani 7e64e90670 Use --portcount on VirtualBox 5.x
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
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 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 35246ba986 virtualbox/common: fix test
11 years ago
Mitchell Hashimoto b441348ba4 virtualbox/common: remove devices should delete floppy controller
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 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