retspen / webvirtcloud

WebVirtCloud is virtualization web interface for admins and users
1.63k stars 362 forks source link

Setting up a VM with ubuntu 20.04 #580

Closed nadermx closed 1 year ago

nadermx commented 1 year ago

I was able to get everything working, and thanks to your help from the networking issue I added that. What I seem to struggle with, is the only thing I can find about how to set up a ubuntu VM or a Centos, or what not is this, https://github.com/retspen/webvirtcloud/issues/548 and that seems slightly confusing.

Is there any way I could get a quick rundown on what I should do after I connect the compute, set up the networking. How do I actually get a iso of ubuntu on a vm? I set up these storages image but I feel I am missing another storage.

And I am unsure if on the host I need to download the ubuntu iso to clone intwo a qcow directory, or can I use one of the existing flavors from here? image And then switch the ubuntu iso into it?

Do I have to download the ubuntu-server 20-04 from ubuntu ontop the host and move it to a specific directory?

Thank you in advance

catborise commented 1 year ago
  1. Download ubuntu iso from ubuntu web site.
  2. Copy os iso image to iso repository.
  3. Create an instance from flavor.
  4. Attach iso to instance cd-rom
  5. make cdrom first on boot menu.
  6. Start instance.
  7. open console.
  8. install operating system as usual.
  9. if you want you can make this instance a template. whenever you need clone/create instance from the template.
nadermx commented 1 year ago

I get stuck on step 6 with this error image but on the host when I run this, I see this image and the admin of webvirt shows this image I feel I am close, and appreciate your help.

Also I tried setting the settings.py in /srv/webvirtcloud/webvirtcloud and restarting webvirtcloud, but it still just shows error 500 as well

nadermx commented 1 year ago

I was able to fix it, because I Remember some where either you or some one said the bridge had to be the same name as the network, so I remade a bridge called the same as my default virbr0 image