Requested operation is not valid: network 'default' is not active
程序员文章站
2022-04-15 18:45:19
...
错误信息
Debian系统通过KVM部署虚拟机,运行 virt-install 指定 --network network=default 的时候会出现下面的错误:
ERROR Requested operation is not valid: network 'default' is not active
问题解决
- 确定virth环境中有default网络,如下:
[email protected]:/home/th# virsh net-list --all
Name State Autostart Persistent
----------------------------------------------------------
default inactive no yes
- start当前default网络
virsh net-start default
[email protected]:/home/th# virsh net-start default
Network default started
更多参考
推荐阅读
-
Fix error:"Error starting domain: Requested operation is not valid: network 'default' is not active"
-
解决:error:Requested operation is not valid: network 'ovs-network' is not active
-
Requested operation is not valid: network 'default' is not active
-
Requested operation is not valid: network 'default' is not active