虚拟机安装时的报错:
1. Cannot set up guest memory 'pc.ram'
Starting install...
Allocating 'vm-build.img' | 50 GB 00:00
ERROR internal error: process exited while connecting to monitor: Cannot set up guest memory 'pc.ram': Cannot allocate memory
Domain installation does not appear to have been successful.
解决
内存分配过大,改小为16G
virt-install --name vm-build -r 16384 --disk path=/var/lib/libvirt/images/vm-build.img,size=50 --vcpu=2 --network bridge=br1,model=e1000 --cdrom=/public/ubuntu-14.04.3-server-amd64.iso
No Leanote account? Sign up now.