Open sdarwin opened 1 year ago
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
As of Packer release version 1.8.1, it is no longer necessary to declare temporary_key_pair_type
in the build configuration (users will want to ensure they are using a contemporary version of Packer).
I've included the change to the source_image_family
in https://github.com/GoogleCloudPlatform/cloud-builders-community/pull/604 (updating to Packer release version 1.8.5).
I recommend closing this PR. Thanks for your contribution.
When running packer to generate an image, the user will likely consider changing the template from ubuntu-2104 to ubuntu-2204, since that's a long term support version and it's newer. After making that change, packer will fail. The reason is not obvious. After logging into the build machine it says
userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms
The solution is to addtemporary_key_pair_type
.