Hello Rocky Linux community,
I’m trying to initialize the official image Rocky-9-EC2-Base-9.4-20240609.0.x86_64.qcow2 using Packer with the QEMU builder, but I’m having trouble logging in via SSH.
Context:
- Image used:
https://dl.rockylinux.org/vault/rocky/9.4/images/x86_64/Rocky-9-EC2-Base-9.4-20240609.0.x86_64.qcow2 - Tools:
- Packer
- QEMU/KVM
Issue:
It is unclear what the default username is to access the image. I have tried using both rocky
and ec2-user
for SSH login without success.
Additionally, I would like to know if there is any specific configuration I need to adjust in my Packer template to successfully log into the instance.
What I’ve Tried:
- Configuring the Packer template with
ssh_username
set torocky
and, subsequently,ec2-user
. - Reviewing official documentation and previous forum posts without finding a definitive answer.
Question:
Has anyone worked with this image and can confirm the default username for login? Is there any additional configuration required in Packer (or on the image) to inject my SSH key or enable access?
Thank you in advance for your attention and help!