iso

package
v1.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2019 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const BuilderId = "mitchellh.virtualbox"

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func (*Builder) Prepare

func (b *Builder) Prepare(raws ...interface{}) ([]string, error)

func (*Builder) Run

func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (packer.Artifact, error)

type Config added in v0.8.0

type Config struct {
	common.PackerConfig             `mapstructure:",squash"`
	common.HTTPConfig               `mapstructure:",squash"`
	common.ISOConfig                `mapstructure:",squash"`
	common.FloppyConfig             `mapstructure:",squash"`
	bootcommand.BootConfig          `mapstructure:",squash"`
	vboxcommon.ExportConfig         `mapstructure:",squash"`
	vboxcommon.ExportOpts           `mapstructure:",squash"`
	vboxcommon.OutputConfig         `mapstructure:",squash"`
	vboxcommon.RunConfig            `mapstructure:",squash"`
	vboxcommon.ShutdownConfig       `mapstructure:",squash"`
	vboxcommon.SSHConfig            `mapstructure:",squash"`
	vboxcommon.HWConfig             `mapstructure:",squash"`
	vboxcommon.VBoxManageConfig     `mapstructure:",squash"`
	vboxcommon.VBoxManagePostConfig `mapstructure:",squash"`
	vboxcommon.VBoxVersionConfig    `mapstructure:",squash"`
	vboxcommon.VBoxBundleConfig     `mapstructure:",squash"`
	vboxcommon.GuestAdditionsConfig `mapstructure:",squash"`

	DiskSize                uint   `mapstructure:"disk_size"`
	GuestAdditionsMode      string `mapstructure:"guest_additions_mode"`
	GuestAdditionsPath      string `mapstructure:"guest_additions_path"`
	GuestAdditionsSHA256    string `mapstructure:"guest_additions_sha256"`
	GuestAdditionsURL       string `mapstructure:"guest_additions_url"`
	GuestAdditionsInterface string `mapstructure:"guest_additions_interface"`
	GuestOSType             string `mapstructure:"guest_os_type"`
	HardDriveDiscard        bool   `mapstructure:"hard_drive_discard"`
	HardDriveInterface      string `mapstructure:"hard_drive_interface"`
	SATAPortCount           int    `mapstructure:"sata_port_count"`
	HardDriveNonrotational  bool   `mapstructure:"hard_drive_nonrotational"`
	ISOInterface            string `mapstructure:"iso_interface"`
	KeepRegistered          bool   `mapstructure:"keep_registered"`
	SkipExport              bool   `mapstructure:"skip_export"`
	VMName                  string `mapstructure:"vm_name"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL