Commit Graph

574 Commits (df913f596b796d32cfec217faef048e7d3c52875)

Author SHA1 Message Date
Sylvia Moss baa203bb53
Adds acpi_shutdown to virtualbox builder (#8587)
6 years ago
Adrien Delorme 7b5a868de2 virtualbox/vm.Builder: use config as a non pointer to avoid a panic
6 years ago
Lars Lehtonen 8098ba9cdf builder/virtualbox/common: remove unused url variable (#8559)
6 years ago
Megan Marsh 348e00422e
Merge pull request #8509 from hashicorp/fix_step_import_panic
6 years ago
Moss 7912e496aa Remove config dependency inside StepImport
6 years ago
Megan Marsh 127905e855 remove time flaky time limited tests (#8522)
6 years ago
Megan Marsh f47d9f1b1f
Merge pull request #8514 from hashicorp/fix_5821
6 years ago
Adrien Delorme f1e6f8eac1 removed unused config puts
6 years ago
Adrien Delorme a67948f155 fix config pointers
6 years ago
Moss 9216f43463 Configure NAT interface before forwarded port mapping
6 years ago
Moss 42cf9ef064 Remove pointer fixing panic on interface conversion
6 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh 0f6d1beccf add an extra string array to the Prepare() return values in the builder interfaces; this sets up the ability for builders to give the provisioners custom user-accessible build-time variables.
6 years ago
Sylvia Moss c57f093efe
Remove unnecessary source_path validation for virtualbox-ovf (#8489)
6 years ago
Sylvia Moss 0a8b172bf9 Remove duplicated retry mechanism when deleting VM ffrom virtual box (#8485)
6 years ago
Megan Marsh 84063d2132 implement ID and Type values in the provisioner template info sharing
6 years ago
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