mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-22 16:01:43 -04:00
Tweaked debug SSH private key file name for vbox.
This commit is contained in:
@@ -48,7 +48,6 @@ func (s *StepSshKeyPair) Run(_ context.Context, state multistep.StateBag) multis
|
||||
|
||||
ui.Say("Creating ephemeral key pair for SSH communicator...")
|
||||
|
||||
|
||||
kp, err := ssh.NewKeyPairBuilder().
|
||||
SetName(fmt.Sprintf("packer_%s", uuid.TimeOrderedUUID())).
|
||||
Build()
|
||||
|
||||
@@ -224,7 +224,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
||||
},
|
||||
&vboxcommon.StepSshKeyPair{
|
||||
Debug: b.config.PackerDebug,
|
||||
DebugKeyPath: fmt.Sprintf("virtualbox_%s.pem", b.config.PackerBuildName),
|
||||
DebugKeyPath: fmt.Sprintf("%s.pem", b.config.PackerBuildName),
|
||||
Comm: &b.config.Comm,
|
||||
},
|
||||
new(vboxcommon.StepSuppressMessages),
|
||||
|
||||
@@ -66,7 +66,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
||||
},
|
||||
&vboxcommon.StepSshKeyPair{
|
||||
Debug: b.config.PackerDebug,
|
||||
DebugKeyPath: fmt.Sprintf("virtualbox_%s.pem", b.config.PackerBuildName),
|
||||
DebugKeyPath: fmt.Sprintf("%s.pem", b.config.PackerBuildName),
|
||||
Comm: &b.config.Comm,
|
||||
},
|
||||
&vboxcommon.StepDownloadGuestAdditions{
|
||||
|
||||
Reference in New Issue
Block a user