Commit Graph

13 Commits

Author SHA1 Message Date
Matthew Hooker a831d522be
change run signatures
Run now takes a context as well as a statebag. We'll assign the context
to the blank identifier to prevent namespace collisions. We'll let the
step authors opt-in to using the context.

`find . -iname "step_*.go" -exec gsed -i'' 's/func \(.*\)Run(/func \1Run(_ context.Context, /' {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker 366dc3da0a
move multistep imports to helper.
gomvpkg -from "github.com/mitchellh/multistep" -to "github.com/hashicorp/packer/helper/multistep"
2018-01-24 17:09:15 -08:00
Ben Phegan c4b8e8e5df Merge branch 'master' into virtualbox_sata_port_count 2017-05-01 09:23:05 +10:00
Matthew Hooker 81522dced0
move packer to hashicorp 2017-04-04 13:39:01 -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
Arthur Burkart 4a00ffeea2 Closes #3999 - Support VirtualBox Trim/Discard
Adds a couple options to enable/disable the `--nonrotational` and
`--discard` flags during `VBoxManage storageattach` command execution
2016-10-17 08:52:28 -04:00
Mitchell Hashimoto d15bc90453 builder/virtualbox/iso: new interpolation 2015-05-27 14:01:08 -07: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
Matt Behrens 9eb32e5dcd implement `iso_interface` setting
Adds a new configuration option, `iso_interface`, that can be set to
`sata` to mount the ISO on the SATA controller.  Required for OS X.
2014-05-23 21:14:24 -04:00
Mitchell Hashimoto cdc02db96d builder/virtualbox/common: Move Driver here 2013-12-21 15:00:48 -08:00
Mitchell Hashimoto afd67ea104 builder/virtualbox/iso: rename package 2013-12-21 14:27:00 -08:00
Mitchell Hashimoto 01c7bbf8c4 builder/virtualbox: move to iso/ folder 2013-12-21 14:25:22 -08:00