|
发表于 2023-11-2 19:39:54
|
显示全部楼层
本帖最后由 loveyolanda 于 2023-11-2 21:52 编辑
root@iStoreOS:~# lsmod | grep kvm
irqbypass 16384 1 kvm
kvm 409600 1 kvm_intel
kvm_intel 233472 0
有kvm_intel,开始折腾了,没跑起来,建虚拟机最后一步设置网络出错。
参考homeassistant官网,root@iStoreOS:~# virt-install --name hass --description "Home Assistant OS" --os-variant=generic --ram=2048 --vcpus=2 --disk </var/lib/libvirt/images/haos_ova-11.1.qcow2>,bus=sata --import --graphics none --boot uefi
usage: virt-install --name NAME --memory MB STORAGE INSTALL [options]
virt-install: error: argument --disk: expected one argument
root@iStoreOS:~# virt-install --name hass --description "Home Assistant OS" --os-variant=generic --ram=2048 --vcpus=2 --disk /var/lib/libvirt/images/haos_ova-11.1.qcow2,bus=sata --import --graphics none --boot uefi
Starting install...
ERROR Requested operation is not valid: network 'default' is not active
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start hass
otherwise, please restart your installation.
|
|