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

doc: no info on how to log in into a qemu instance #89

Open
sed-i opened this issue Nov 26, 2024 · 1 comment
Open

doc: no info on how to log in into a qemu instance #89

sed-i opened this issue Nov 26, 2024 · 1 comment
Labels
content: edit/update Edit/Update existing content For: Open Documentation Academy Enough information to act and a good candidate to be part of the ODA efforts

Comments

@sed-i
Copy link

sed-i commented Nov 26, 2024

Following the doc and the command under the Run an emulated ARM64 VM on x86 section, I am presented with a login prompt and user:ubuntu pass:ubuntu is not accepted.

Doc should mention how to log in into that instance.

[  744.226683] cloud-init[1248]: Cloud-init v. 24.3.1-0ubuntu0~22.04.1 finished at Tue, 26 Nov 2024 13:16:12 +0000. Datasource DataSourceNone.  Up 744.15 seconds
[  744.234976] cloud-init[1248]: 2024-11-26 13:16:12,170 - cc_final_message.py[WARNING]: Used fallback datasource
[  OK  ] Finished Cloud-init: Final Stage.
[  OK  ] Reached target Cloud-init target.
 
ubuntu login: ubuntu
Password: 

Login incorrect

Document: how-to/virtualisation/arm64-vms-on-qemu.md

@sed-i sed-i changed the title doc: no info on how to log in doc: no info on how to log in into a qemu instance Nov 26, 2024
@cpaelzer
Copy link
Contributor

cpaelzer commented Dec 11, 2024

Yes you are right, thanks @sed-i .
The image has no default password as the risk is too high of leaving that unchanged and that creating many instances easy to attack :.)

What you'd use there is providing cloud-init config data, as you'd do on a real cloud, or openstack or many others - yet often abstracted and hidden from you.

To do so you'd use https://manpages.ubuntu.com/manpages/noble/en/man1/cloud-localds.1.html
which can be used for all that cloud-init can do. But in regard to this request it is about passwords which means https://cloudinit.readthedocs.io/en/latest/reference/modules.html#set-passwords and ssh https://cloudinit.readthedocs.io/en/latest/reference/modules.html#ssh login.

Indeed we should mention that in our documentation - either here or in general and then refer to it.

@bryceharrington bryceharrington added the For: Open Documentation Academy Enough information to act and a good candidate to be part of the ODA efforts label Dec 11, 2024
@cpaelzer cpaelzer added content: edit/update Edit/Update existing content and removed content: update labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content: edit/update Edit/Update existing content For: Open Documentation Academy Enough information to act and a good candidate to be part of the ODA efforts
Projects
None yet
Development

No branches or pull requests

3 participants