2019-05-31 14:27:41 +02:00
|
|
|
//go:generate struct-markdown
|
|
|
|
|
2018-02-26 10:47:59 -06:00
|
|
|
package common
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/hashicorp/packer/template/interpolate"
|
|
|
|
)
|
|
|
|
|
|
|
|
type VBoxBundleConfig struct {
|
2019-05-28 17:50:58 +02:00
|
|
|
// Defaults to false. When enabled, Packer includes
|
2019-06-06 16:29:25 +02:00
|
|
|
// any attached ISO disc devices into the final virtual machine. Useful for
|
|
|
|
// some live distributions that require installation media to continue to be
|
|
|
|
// attached after installation.
|
2019-05-28 17:50:58 +02:00
|
|
|
BundleISO bool `mapstructure:"bundle_iso" required:"false"`
|
2018-02-26 10:47:59 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
func (c *VBoxBundleConfig) Prepare(ctx *interpolate.Context) []error {
|
|
|
|
return nil
|
|
|
|
}
|