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

Update packer example template #591

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sdarwin
Copy link

@sdarwin sdarwin commented Nov 5, 2022

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 add temporary_key_pair_type.

@google-cla
Copy link

google-cla bot commented Nov 5, 2022

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.

@ejv
Copy link
Contributor

ejv commented Jan 18, 2023

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 #604 (updating to Packer release version 1.8.5).

I recommend closing this PR. Thanks for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants