packer-cn/builder/virtualbox/common/vboxbundle_config.go

20 lines
532 B
Go

//go:generate struct-markdown
package common
import (
"github.com/hashicorp/packer/template/interpolate"
)
type VBoxBundleConfig struct {
// Defaults to false. When enabled, Packer includes
// 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.
BundleISO bool `mapstructure:"bundle_iso" required:"false"`
}
func (c *VBoxBundleConfig) Prepare(ctx *interpolate.Context) []error {
return nil
}