2019-05-31 08:27:41 -04:00
|
|
|
//go:generate struct-markdown
|
|
|
|
|
2018-02-26 11:47:59 -05:00
|
|
|
package common
|
|
|
|
|
|
|
|
import (
|
2020-12-17 16:29:25 -05:00
|
|
|
"github.com/hashicorp/packer-plugin-sdk/template/interpolate"
|
2018-02-26 11:47:59 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
type VBoxBundleConfig struct {
|
2019-05-28 11:50:58 -04:00
|
|
|
// Defaults to false. When enabled, Packer includes
|
2019-06-06 10:29:25 -04: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 11:50:58 -04:00
|
|
|
BundleISO bool `mapstructure:"bundle_iso" required:"false"`
|
2018-02-26 11:47:59 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
func (c *VBoxBundleConfig) Prepare(ctx *interpolate.Context) []error {
|
|
|
|
return nil
|
|
|
|
}
|