Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder implements packer.Builder and builds the actual VirtualBox images.
type Config ¶
type Config struct { common.PackerConfig `mapstructure:",squash"` common.HTTPConfig `mapstructure:",squash"` common.FloppyConfig `mapstructure:",squash"` vboxcommon.ExportConfig `mapstructure:",squash"` vboxcommon.ExportOpts `mapstructure:",squash"` vboxcommon.OutputConfig `mapstructure:",squash"` vboxcommon.RunConfig `mapstructure:",squash"` vboxcommon.SSHConfig `mapstructure:",squash"` vboxcommon.ShutdownConfig `mapstructure:",squash"` vboxcommon.VBoxManageConfig `mapstructure:",squash"` vboxcommon.VBoxManagePostConfig `mapstructure:",squash"` vboxcommon.VBoxVersionConfig `mapstructure:",squash"` BootCommand []string `mapstructure:"boot_command"` Checksum string `mapstructure:"checksum"` ChecksumType string `mapstructure:"checksum_type"` GuestAdditionsMode string `mapstructure:"guest_additions_mode"` GuestAdditionsPath string `mapstructure:"guest_additions_path"` GuestAdditionsSHA256 string `mapstructure:"guest_additions_sha256"` GuestAdditionsURL string `mapstructure:"guest_additions_url"` ImportFlags []string `mapstructure:"import_flags"` ImportOpts string `mapstructure:"import_opts"` SourcePath string `mapstructure:"source_path"` TargetPath string `mapstructure:"target_path"` VMName string `mapstructure:"vm_name"` KeepRegistered bool `mapstructure:"keep_registered"` SkipExport bool `mapstructure:"skip_export"` // contains filtered or unexported fields }
Config is the configuration structure for the builder.
type StepImport ¶
type StepImport struct { Name string ImportFlags []string // contains filtered or unexported fields }
This step imports an OVF VM into VirtualBox.
func (*StepImport) Cleanup ¶
func (s *StepImport) Cleanup(state multistep.StateBag)
func (*StepImport) Run ¶
func (s *StepImport) Run(_ context.Context, state multistep.StateBag) multistep.StepAction
Click to show internal directories.
Click to hide internal directories.