Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SSHKeyGen step from SDK #102

Closed
LIV2 opened this issue Oct 20, 2022 · 0 comments · Fixed by #96
Closed

Add support for SSHKeyGen step from SDK #102

LIV2 opened this issue Oct 20, 2022 · 0 comments · Fixed by #96

Comments

@LIV2
Copy link
Contributor

LIV2 commented Oct 20, 2022

Description

The Packer plugin SDK includes a step that will generate a temporary SSH Key for packer to use if no SSH Key or Password has been configured for the communicator.
The SSH Key is then cleaned up by the builder using the StepCleanupTempKeys step here

This is already implemented in the Virtualbox builder

Use Case(s)

This would streamline the build+provision process, the public portion of the key can be passed into the boot_command allowing a kicktart/preseed script to install the public key in the VM without needing to run any external commands to generate the key etc

Potential References

  1. feat: Add SSHKeyGen Step from SDK #96
  2. Virtualbox Builder documentation
@tenthirtyam tenthirtyam changed the title Feature request: Add SSHKeyGen Step from SDK Add support for SSHKeyGen Step from SDK Oct 20, 2022
@tenthirtyam tenthirtyam changed the title Add support for SSHKeyGen Step from SDK Add support for SSHKeyGen step from SDK Oct 20, 2022
@hashicorp hashicorp locked and limited conversation to collaborators Jun 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant