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