转载请注明出处:http://www./2014/06/virt-install-erro1 使用virt-install安装vm的时候出现了一下错误,解决方法如下: $sudo ./create-vm-demo.sh Starting install… ERROR internal error process exited while connecting to monitor: char device redirected to /dev/pts/2 kvm: -drive file=/home/muge0913/workstation/kvm/test.img,if=none,id=drive-ide0-0-0,format=raw: could not open disk image /home/muge0913/workstation/kvm/test.img: Permission denied
解决:编辑/etc/libvirt/qemu.conf添加内容如下,这样root就有操作的权限了。 user = “root” # The group for QEMU processes run by the system instance. It can be # specified in a similar way to user. group = “root” # Whether libvirt should dynamically change file ownership # to match the configured user/group above. Defaults to 1. # Set to 0 to disable file ownership changes. dynamic_ownership = 0
#vrish list查看虚拟机运行情况 |
|