iso

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2016 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) 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"`
	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"`

	BootCommand            []string `mapstructure:"boot_command"`
	DiskSize               uint     `mapstructure:"disk_size"`
	KeepRegistered         bool     `mapstructure:"keep_registered"`
	GuestAdditionsMode     string   `mapstructure:"guest_additions_mode"`
	GuestAdditionsPath     string   `mapstructure:"guest_additions_path"`
	GuestAdditionsURL      string   `mapstructure:"guest_additions_url"`
	GuestAdditionsSHA256   string   `mapstructure:"guest_additions_sha256"`
	GuestOSType            string   `mapstructure:"guest_os_type"`
	HardDriveInterface     string   `mapstructure:"hard_drive_interface"`
	HardDriveNonrotational bool     `mapstructure:"hard_drive_nonrotational"`
	HardDriveDiscard       bool     `mapstructure:"hard_drive_discard"`
	ISOInterface           string   `mapstructure:"iso_interface"`
	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