Commit Graph

607 Commits (azr_remove_amazon_builder)

Author SHA1 Message Date
Sylvia Moss 2ee3311082
Retry command execution when VM session is locked (#8483)
6 years ago
Sylvia Moss c6b9efb522 Fix virtualbox-iso TestBuilderAcc_basic (#8481)
6 years ago
Sylvia Moss 2f63c581a0
Remove unnecessary 1 sec sleep (#8453)
6 years ago
Sylvia Moss 5ff5623433
Add disable_shutdown option to VirtualBox builder (#8449)
6 years ago
Adrien Delorme a36b94320a virtualbox: simplify ParseSnapshotData
7 years ago
Adrien Delorme 116a038de9 Update snapshot.go
7 years ago
Adrien Delorme 14243ce56a
Merge pull request #8305 from hashicorp/fix_8301
7 years ago
Adrien Delorme a23801d4a9 builder.virtualbox.iso: document that EFI mode needs to be enabled for pcie/nvme to work too
7 years ago
Megan Marsh 974eba443a update docs to include warning about extension pack
7 years ago
Adrien Delorme b790776096 vbox iso: use NVMe Controller when the hard drive interface if pcie
7 years ago
Megan Marsh 6f54468dd5 fix mocks
7 years ago
Megan Marsh 65ad3105b3 udpdate generated code
7 years ago
Megan Marsh 9343a23021 add driver calls to enable nvme controller
7 years ago
Megan Marsh d2867c47f0 allow nvme, since virtualbox 6.0 allows it
7 years ago
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
7 years ago
Adrien Delorme bf3d9841c6 Force durations to be passed a strings
7 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Lars Lehtonen 4a3a011310
builder/virtualbox/vm: fix dropped error
7 years ago
Adrien Delorme 3fe9d52e3f Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
allinwait 171c2a9a07 add the floppy label option
7 years ago
Brian Fox 5b6dcb0c94 fix(virtualbox) LoadSnapshots should succeed even if VM has no snapshots
7 years ago
Adrien Delorme 597a3e323b Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Adrien Delorme 350aa54274 Update step_shutdown_test.go
7 years ago
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Thomas Meckel 01edafb49f Cleaned up golint warnings
7 years ago
Thomas Meckel 92501cd344 target_snapshot is not optional as described in the documentation
7 years ago
Megan Marsh 06bef2844b
Merge pull request #7996 from hashicorp/fix_7925
7 years ago
Brian Fox 47c027e5c8 Remove check/requirement for target_snapshot
7 years ago
Megan Marsh 02399f32f6 dont bother with a targetpath for the vbox additions; use a hash like everything else
7 years ago
Thomas Meckel 822b72bd14 Added force_delete_snapshot configuration item and the corresponding checks
7 years ago
Thomas Meckel e7583de847 StepCreateSnapshot.Run() will stop and create an error if the virtual machine is still running
7 years ago
Thomas Meckel d9b8623f64 StepShutdown now always waits for the shutdown of the virtual machine to complete, not only if a shutdown command is specified
7 years ago
Thomas Meckel b873876670 Added test TestSnapshot_EnsureParents
7 years ago
Thomas Meckel 6fd0b3e83e Fixed a bug in ParseSnapshotData
7 years ago
Thomas Meckel 225a140055 Applied correct source format (got fmt) to builder\virtualbox\common\driver_mock.go
7 years ago
Thomas Meckel 51e5ae69db Corrected method signatures in builder\virtualbox\common\driver_mock.go
7 years ago
Thomas Meckel ab6a163ff2 Added missing newline at end of builder\virtualbox\common\driver_mock.go
7 years ago
Thomas Meckel e9b5332e99 Added missing functions to builder\virtualbox\common\driver_mock.go
7 years ago
Thomas Meckel fd5a2db58f Removed commented (obsolete) code from builder\virtualbox\common\driver_4_2.go
7 years ago
Thomas Meckel 7d3c84e5f9 Changed VirtualBox VM builder according to current builder interface
7 years ago
Thomas Meckel 2ef911f6f0 Fixed bugs in snapshot and builder code
7 years ago
Thomas Meckel ebd2780e5d implemented first unit tests for snapshot.go
7 years ago
Thomas Meckel f1f7c4e10c * added function ParseSnapshotData to parse a string representation of a VBox snapshot tree
7 years ago
Thomas Meckel 45e2095ae3 Moved parsing of tree string representation to new function in snapshot.go
7 years ago
Thomas Meckel 092e32fe9e First version of reworked snapshot implementation
7 years ago
Thomas Meckel a6074894f1 Defined struct and first function for enhanced snapshot handling
7 years ago
Thomas Meckel d3202497ae First working version of virtualbox/vm builder
7 years ago
Thomas Meckel 2a531f8ad6 Merged changes from local branch
7 years ago
Adrien Delorme 74f0d56cfc virtualbox merge vbpx manage configs
7 years ago
Adrien Delorme 01eff9472a virtualbox: merge ExportOpts and ExportConfig structs
7 years ago
Adrien Delorme 9b75c0af3d WIP VB
7 years ago
Adrien Delorme c11ef90cb6 use interpolate.NewContext() instead of testConfigTemplate(t)
7 years ago
Adrien Delorme 4bf6a56d71 split communitacor.SSH & communitacor.WinRM to facilitate documentation
7 years ago
Adrien Delorme 4399684372 make fmt autogenerated docs
7 years ago
Adrien Delorme e6cbb013ba add // go:generate struct-markdown to all previously edited files
7 years ago
Adrien Delorme f1917edd34 generate the comments for config struct of builders scraping doc website
7 years ago
Adrien Delorme d72040f4fa move retry code into the common/retry pkg and make retry context aware
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme a4bf94dd3c change Builder to be passed a context for cancellation
7 years ago
Megan Marsh 9f1a4e0fed
Merge pull request #7423 from hashicorp/lock_ports
7 years ago
Adrien Delorme 5a6dffde9a use port as ints
7 years ago
Adrien Delorme c214f6735b make everything a uint
7 years ago
Adrien Delorme f67b5ff59d virtualbox StepConfigureVRDP: use common/net pkg to find open port
7 years ago
Adrien Delorme 59370986fb virtualbox StepForwardSSH: use common/net pkg to find open port
7 years ago
Vadym Haidamaka 414d0750f0 Add tests to validate 'none' communicator in the virtualbox builder
7 years ago
Vadym Haidamaka 0263503c45 Validate virtualbox_version_file and guest_additions_mode when communicator is none
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
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 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