From 53c0376dfd4747831950f1757db0f3f3cf6fbe9c Mon Sep 17 00:00:00 2001 From: chris marget Date: Wed, 6 Feb 2019 13:54:05 -0500 Subject: [PATCH] don't print keypair to the user's screen --- builder/virtualbox/common/step_ssh_key_pair.go | 1 - 1 file changed, 1 deletion(-) diff --git a/builder/virtualbox/common/step_ssh_key_pair.go b/builder/virtualbox/common/step_ssh_key_pair.go index 4e04d9603..167030deb 100644 --- a/builder/virtualbox/common/step_ssh_key_pair.go +++ b/builder/virtualbox/common/step_ssh_key_pair.go @@ -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).