mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 08:05:54 +03:00
[GH-ISSUE #409] Boot with SSH key #307
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stephen304 on GitHub (Aug 31, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/409
Lots of cloud images seem to not have username/password and need to be booted with an ssh key, for example all of Ubuntu's cloud images are like this. It would be helpful to be able to add SSH keys to the user account and specify them when creating instances to have them automatically added:
https://ask.openstack.org/en/question/4805/what-is-the-password-for-ubuntu-1204-cloud-image/?answer=7559#post-id-7559
@lub commented on GitHub (Sep 2, 2014):
I guess that's a little bit out of scope for this project.
@stephen304 commented on GitHub (Sep 2, 2014):
Out of scope? How do you get access to your instances? Without a root password there's no way to log in via VNC because that just presents a login screen.
@retspen commented on GitHub (Sep 2, 2014):
Libvirt library can't get access to vm's file system.
@stephen304 commented on GitHub (Sep 2, 2014):
I've been trying to use this for a few days and I'm unable to use any instances because there's no way to set the admin password. WebVirtMgr really needs a way to grant access to new instances.
Is there any alternative to set the admin password or add an ssh key then? Otherwise WebVirtMgr doesn't provide much utility.
@lub commented on GitHub (Sep 2, 2014):
It is out of scope because WebVirtMgr is a frontend for libvirt and thus a tool to handle a VM landscape.
Also I don't think that most people need to use every second day a new, prefabricated Image, but instead have a (for their needs) customized Image they clone or install each VM from scratch.
If this is an one-time thing mount the corresponding image (e.g. http://alexeytorkhov.blogspot.de/2009/09/mounting-raw-and-qcow2-vm-disk-images.html). If you need it more often I would recommend you to write a little script for this job.
Just my 2 cents.
@stephen304 commented on GitHub (Sep 2, 2014):
See that's exactly what WebVirtMgr should do, Idk why retspen needs it to be in libvirt. It would make provisioning new instances much easier.
Plus I'm not going to give my users access to uploading their own images, so it needs to be handled on the server, and by the server because I'm not giving anyone permission to ssh into the server to edit the cloud images.
@lub commented on GitHub (Sep 2, 2014):
First line of the projects description: "WebVirtMgr is a libvirt-based Web interface for managing virtual machines."
It would be too much effort to write a suitable solution for this use case, which is satisfying for everyone.
I didn't say that your users should upload own Images, but why don't you provide an universal SSH key that all your users have so they can manage it in the VM itself themselves?
@stephen304 commented on GitHub (Sep 2, 2014):
That seems a bit insecure to me, but sure. I'll find something else that works for me.