mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
lxc: explicitly error on interface type=ethernet
It isn't implemented and does not work: error: internal error: guest failed to start: /usr/lib/libvirt/libvirt_lxc: option '--veth' requires an argument syntax: /usr/lib/libvirt/libvirt_lxc [OPTIONS] ... We previously threw an explicit error, but this changed in22cff52a2b
, which I suspect was untested for LXC (cherry picked from commit27f2b74782
)
This commit is contained in:
parent
35351d5217
commit
8cb5246427
@ -559,8 +559,6 @@ static int virLXCProcessSetupInterfaces(virConnectPtr conn,
|
||||
break;
|
||||
|
||||
case VIR_DOMAIN_NET_TYPE_ETHERNET:
|
||||
break;
|
||||
|
||||
case VIR_DOMAIN_NET_TYPE_USER:
|
||||
case VIR_DOMAIN_NET_TYPE_VHOSTUSER:
|
||||
case VIR_DOMAIN_NET_TYPE_SERVER:
|
||||
|
Loading…
Reference in New Issue
Block a user