Skip to content

Commit

Permalink
Use SSH key generation step
Browse files Browse the repository at this point in the history
  • Loading branch information
edigaryev committed Jul 30, 2024
1 parent 3cd22b7 commit 57b0d51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions builder/tart/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack

if !b.config.Recovery && communicatorConfigured {
steps = append(steps,
&communicator.StepSSHKeyGen{
CommConf: &b.config.CommunicatorConfig,
SSHTemporaryKeyPair: b.config.CommunicatorConfig.SSH.SSHTemporaryKeyPair,
},
&communicator.StepConnect{
Config: &b.config.CommunicatorConfig,
Host: func(state multistep.StateBag) (string, error) {
Expand Down

0 comments on commit 57b0d51

Please sign in to comment.