kali kvm Requested operation is not valid: network 'default' is not active
安装时候参考的:http://www.ilanni.com/?p=6101
今天安装完kvm,满是幸福的装了个xp,重启后出现了一个错误
Requested operation is not valid: network 'default' is not active
详情:
Details:
Error starting domain: Requested operation is not valid: network ‚default‘ is not active
Traceback (most recent call last):
File „/usr/share/virt-manager/virtManager/asyncjob.py“, line 91, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File „/usr/share/virt-manager/virtManager/asyncjob.py“, line 127, in tmpcb
callback(*args, **kwargs)
File „/usr/share/virt-manager/virtManager/domain.py“, line 1355, in startup
self._backend.create()
File „/usr/lib/python2.7/dist-packages/libvirt.py“, line 1029, in create
if ret == -1: raise libvirtError (‚virDomainCreate() failed‘, dom=self)
libvirtError: Requested operation is not valid: network ‚default‘ is not active
解决办法:
sudo virsh net-start default sudo virsh net-autostart default
原因需要查看命令
启动虚拟机命令: virt-manager
sudo virsh net-list --all
python@kali:~$ sudo virsh net-list --all Name State Autostart Persistent ---------------------------------------------------------- default active no yes // 看是no,所以导致了这个错误
同时要注意一个问题,就是在虚拟机配置
虚拟网络接口 网络源: 虚拟网络'default': NAT 设备型号: rtl8139
出处:http://www.cnblogs.com/renfanzi/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接。