Commit Graph

475 Commits (44ba58321d9be80fa418e4dfc84c4e588a2bc309)

Author SHA1 Message Date
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 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