retspen / webvirtcloud

WebVirtCloud is virtualization web interface for admins and users
1.7k stars 372 forks source link

webvirtcloud cannot install os to instance #548

Closed xiedeacc closed 2 years ago

xiedeacc commented 2 years ago

I followed this post to install webvirtcloud https://techviewleo.com/install-webvirtcloud-kvm-web-dashboard-on-ubuntu/, but I cannot see virtual instance by console, I think webvirtcloud didn't boot from cd-rom at all, how to install a os to instance? or what's problem?

my host is ubuntu22.04 server version, and I want instance install ubuntu22.0 server version

xiedeacc commented 2 years ago

it seems webvirtcloud's bug, I manual installed create a os by use virt-install command

virt-install \ --name tiger_1 \ --description "ubuntu 22.04" \ --os-type=Linux \ --os-variant=ubuntu22.04 \ --ram=4096 \ --vcpus=2 \ --disk path=/data1/virt/image/tiger_1.img,bus=virtio,size=60 \ --network bridge=br0 \ --graphics none \ --console pty,target_type=serial \ --location /data1/virt/iso/ubuntu-22.04.1-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper/initrd \ --extra-args 'console=ttyS0,115200n8'

xiedeacc commented 2 years ago

@catborise can U cc this problem?

catborise commented 2 years ago

i tested it again. it is working as expected. you missing some steps. did you add iso pool? image do you see isos in iso pool: image

did you mount iso to instance? image

if instance was booted before, you must enable boot and set boot order like; image

xiedeacc commented 2 years ago

ok, I will check it