iso

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2017 License: MPL-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"`
	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"`
	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