Megan Marsh
be1a6c9f35
return error when LoadSnapshots turns up empty
2020-03-18 14:03:22 -07:00
Vitaly Polonetsky
67c9c2a59a
Remove all floppy controllers before adding a new one
2020-03-02 21:56:20 -08:00
Sylvia Moss
baa203bb53
Adds acpi_shutdown to virtualbox builder ( #8587 )
2020-01-09 08:36:19 -08:00
Moss
42cf9ef064
Remove pointer fixing panic on interface conversion
2019-12-19 13:30:54 +01:00
Sylvia Moss
0a8b172bf9
Remove duplicated retry mechanism when deleting VM ffrom virtual box ( #8485 )
...
This retry was also added to fix a locked by session error reported in #5501 and fixed in #5512 .
2019-12-16 14:31:15 +01:00
Sylvia Moss
2ee3311082
Retry command execution when VM session is locked ( #8483 )
2019-12-13 10:47:19 +01:00
Megan Marsh
9343a23021
add driver calls to enable nvme controller
2019-10-31 15:21:52 -07:00
Brian Fox
5b6dcb0c94
fix(virtualbox) LoadSnapshots should succeed even if VM has no snapshots
2019-09-12 10:51:12 +02:00
Thomas Meckel
fd5a2db58f
Removed commented (obsolete) code from builder\virtualbox\common\driver_4_2.go
2019-07-26 12:34:25 +02:00
Thomas Meckel
7d3c84e5f9
Changed VirtualBox VM builder according to current builder interface
2019-07-26 12:29:48 +02:00
Thomas Meckel
45e2095ae3
Moved parsing of tree string representation to new function in snapshot.go
2019-07-26 12:29:45 +02:00
Thomas Meckel
092e32fe9e
First version of reworked snapshot implementation
2019-07-26 12:29:45 +02:00
Thomas Meckel
a6074894f1
Defined struct and first function for enhanced snapshot handling
2019-07-26 12:29:45 +02:00
Thomas Meckel
d3202497ae
First working version of virtualbox/vm builder
2019-07-26 12:29:44 +02:00
Thomas Meckel
2a531f8ad6
Merged changes from local branch
2019-07-26 12:29:44 +02:00
Adrien Delorme
d72040f4fa
move retry code into the common/retry pkg and make retry context aware
2019-04-09 17:46:38 +02:00
Adrien Delorme
a4bf94dd3c
change Builder to be passed a context for cancellation
...
we have to to give it to our hook
2019-04-03 15:55:55 +02:00
Ed Maxwell-Lyte
e8e92fe6c6
rename clashing import
2019-01-09 16:30:54 +00:00
Ed Maxwell-Lyte
4437f8d8ba
Use go-version for comparison
2019-01-09 16:22:33 +00:00
Ed Maxwell-Lyte
346f5d9bba
Simplify version check for port count argument
...
Might be personal preference, but I think this reads more clearly
2019-01-09 09:46:24 +00:00
Ed Maxwell-Lyte
4fc02ea406
Assign to existing var
2019-01-08 16:19:11 +00:00
Adrien Delorme
f91b668617
Create portCountArg in the if statement
...
You can't assign to something that doesn't exist
Co-Authored-By: edwardmlyte <edwardmlyte@gmail.com>
2019-01-08 16:15:24 +00:00
Ed Maxwell-Lyte
a9eed311a6
Run gofmt on driver_4_2.go
2019-01-08 15:58:12 +00:00
Ed Maxwell-Lyte
e5b1e0f4d9
Add version 0.x to the rule
2019-01-08 15:35:45 +00:00
Ed Maxwell-Lyte
e40c90423f
Reverse default port count virtualbox argument
...
As we know the exact versions that used the old `sataportcount` option, it's safe to assume we want to use the newer `portcount` option for everything else.
Reversed the option check and use the `portcount` option by default. Prevents needing to update this for future major versions of VirtualBox.
2019-01-08 14:14:26 +00:00
Megan Marsh
a819217c93
fix virtualbox 6.0 beta command options
2018-12-10 15:18:21 -08:00
Matthew Hooker
fb098d045d
builder/virtualbox-ovf retry removing VM.
...
moves behavior from builder/virtualbox-iso into the driver
so it is automatically available to callers.
2017-10-25 10:27:33 -07:00
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.
2017-03-22 23:09:25 +11:00
Lorenzo Villani
7e64e90670
Use --portcount on VirtualBox 5.x
2015-07-13 20:32:45 +02:00
Danny Lockard
7d1b95c907
Formatting fix :)
2015-01-16 10:34:12 -06:00
Danny Lockard
84d6d856f6
Add the ability to create a SCSI Device as the main HD controller for
...
virtualbox.
2015-01-15 19:53:01 -06:00
Mitchell Hashimoto
83772fc5b8
Merge pull request #1509 from kamazee/fix_detecting_guest_additions_when_sysprop_empty
...
Fix detecting guest additions URL
2014-10-27 17:04:03 -07:00
Konstantinos Koukopoulos
a8b8658245
figure out VirtualBox version on FreeBSD
2014-10-09 11:45:03 +03:00
Alexander Kurilo
3592d67093
Fix detecting guest additions URL
...
When system property exists with empty value, packer treats that
empty value as a URL. The issue has been spotted on Arch
with Virtualbox 4.3.16.
2014-09-18 10:53:13 -04:00
Mitchell Hashimoto
9b2039121f
builder/virtualbox-ovf: import_flags [GH-1383]
2014-09-05 10:23:37 -07:00
Mitchell Hashimoto
863e06a614
builder/virtualbox: comment
2014-09-05 09:59:39 -07:00
Mitchell Hashimoto
f54f09d7a3
builder/virtualbox: detect vboxmanage errors with zero code [GH-1119]
2014-09-05 09:57:30 -07:00
Hiroaki Nakamura
7549735bd3
Accept VirtualBox release candidate version (ex. 4.3.14_RC1 from 4.3.14_RC1r94870)
2014-07-12 19:08:10 +09:00
Ross Smith II
58fd5aec61
virtualbox: use local VBoxGuestAdditions.iso by default
...
fixes #1123
2014-05-06 16:15:55 -07:00
Brian Johnson
ac2c4203a2
Add import_opts to the virtualbox-ovf builder. My use case is that I
...
have existing virtualbox virtual machines where I need to keep the mac
addresses so that the network interfaces come up when packer boots them.
Otherwise I just get SSH timeout and I'm unable to configure the machines.
2014-02-18 16:44:27 -08:00
Mitchell Hashimoto
dd767c9d54
builder/virtualbox/ovf: StepImport to import an OVF
2013-12-22 15:19:19 -08:00
Mitchell Hashimoto
cdc02db96d
builder/virtualbox/common: Move Driver here
2013-12-21 15:00:48 -08:00