iso

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2018 License: MPL-2.0 Imports: 15 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) Cancel

func (b *Builder) Cancel()

func (*Builder) Prepare

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

func (*Builder) Run

func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (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.VBoxManageConfig     `mapstructure:",squash"`
	vboxcommon.VBoxManagePostConfig `mapstructure:",squash"`
	vboxcommon.VBoxVersionConfig    `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"`
	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