mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-12 09:21:40 -04:00
don't print keypair to the user's screen
This commit is contained in:
@@ -35,7 +35,6 @@ func (s *StepSshKeyPair) Run(_ context.Context, state multistep.StateBag) multis
|
||||
state.Put("error", err)
|
||||
return multistep.ActionHalt
|
||||
}
|
||||
ui.Say(string(privateKeyBytes))
|
||||
|
||||
kp, err := ssh.NewKeyPairBuilder().
|
||||
SetPrivateKey(privateKeyBytes).
|
||||
|
||||
Reference in New Issue
Block a user