Versions in this module Expand all Collapse all v1 v1.999.1 Feb 21, 2023 Changes in this version + type Builder struct + func (b *Builder) ConfigSpec() hcldec.ObjectSpec + func (b *Builder) Prepare(raws ...interface{}) ([]string, []string, error) + func (b *Builder) Run(ctx context.Context, ui packersdk.Ui, hook packersdk.Hook) (packersdk.Artifact, error) + type Config struct + AttachSnapshot string + DeleteTargetSnapshot bool + KeepRegistered bool + SkipExport bool + TargetSnapshot string + VMName string + func (*Config) FlatMapstructure() interface{ ... } + func (c *Config) Prepare(raws ...interface{}) ([]string, error) + type FlatConfig struct + ACPIShutdown *bool + AttachSnapshot *string + BootCommand []string + BootGroupInterval *string + BootWait *string + CDContent map[string]string + CDFiles []string + CDLabel *string + DeleteTargetSnapshot *bool + DisableShutdown *bool + ExportOpts []string + FloppyContent map[string]string + FloppyDirectories []string + FloppyFiles []string + FloppyLabel *string + Format *string + GuestAdditionsInterface *string + GuestAdditionsMode *string + GuestAdditionsPath *string + GuestAdditionsSHA256 *string + GuestAdditionsURL *string + HTTPAddress *string + HTTPContent map[string]string + HTTPDir *string + HTTPInterface *string + HTTPPortMax *int + HTTPPortMin *int + Headless *bool + HostPortMax *int + HostPortMin *int + KeepRegistered *bool + OutputDir *string + OutputFilename *string + PackerBuildName *string + PackerBuilderType *string + PackerCoreVersion *string + PackerDebug *bool + PackerForce *bool + PackerOnError *string + PackerSensitiveVars []string + PackerUserVars map[string]string + PauseBeforeConnect *string + PostShutdownDelay *string + SSHAgentAuth *bool + SSHBastionAgentAuth *bool + SSHBastionCertificateFile *string + SSHBastionHost *string + SSHBastionInteractive *bool + SSHBastionPassword *string + SSHBastionPort *int + SSHBastionPrivateKeyFile *string + SSHBastionUsername *string + SSHCertificateFile *string + SSHCiphers []string + SSHClearAuthorizedKeys *bool + SSHDisableAgentForwarding *bool + SSHFileTransferMethod *string + SSHHandshakeAttempts *int + SSHHost *string + SSHHostPortMax *int + SSHHostPortMin *int + SSHKEXAlgos []string + SSHKeepAliveInterval *string + SSHKeyPairName *string + SSHLocalTunnels []string + SSHPassword *string + SSHPort *int + SSHPrivateKey []byte + SSHPrivateKeyFile *string + SSHProxyHost *string + SSHProxyPassword *string + SSHProxyPort *int + SSHProxyUsername *string + SSHPty *bool + SSHPublicKey []byte + SSHReadWriteTimeout *string + SSHRemoteTunnels []string + SSHSkipNatMapping *bool + SSHTemporaryKeyPairBits *int + SSHTemporaryKeyPairName *string + SSHTemporaryKeyPairType *string + SSHTimeout *string + SSHUsername *string + SSHWaitTimeout *string + ShutdownCommand *string + ShutdownTimeout *string + SkipExport *bool + SkipNatMapping *bool + TargetSnapshot *string + Type *string + VBoxManage [][]string + VBoxManagePost [][]string + VBoxVersionFile *string + VMName *string + VRDPBindAddress *string + VRDPPortMax *int + VRDPPortMin *int + WinRMHost *string + WinRMInsecure *bool + WinRMNoProxy *bool + WinRMPassword *string + WinRMPort *int + WinRMTimeout *string + WinRMUseNTLM *bool + WinRMUseSSL *bool + WinRMUser *string + func (*FlatConfig) HCL2Spec() map[string]hcldec.Spec + type StepCreateSnapshot struct + Name string + TargetSnapshot string + func (s *StepCreateSnapshot) Cleanup(state multistep.StateBag) + func (s *StepCreateSnapshot) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepImport struct + Name string + func (s *StepImport) Cleanup(state multistep.StateBag) + func (s *StepImport) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepSetSnapshot struct + AttachSnapshot string + KeepRegistered bool + Name string + func (s *StepSetSnapshot) Cleanup(state multistep.StateBag) + func (s *StepSetSnapshot) Run(_ context.Context, state multistep.StateBag) multistep.StepAction