Commit Graph

490 Commits (0c2fba089d8c8a80d5dadf16fe596a263f30f052)

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