You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered: