mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
Revert "lxc: support setting host-side IP addresses/routes"
This reverts commit cd5c9f21de
.
This feature was accidentally pushed in the feature freeze.
This commit is contained in:
parent
84d47a3cce
commit
1549f16832
@ -304,14 +304,6 @@ virLXCProcessSetupInterfaceTap(virDomainDefPtr vm,
|
||||
if (virNetDevSetOnline(parentVeth, true) < 0)
|
||||
goto cleanup;
|
||||
|
||||
if (virDomainNetGetActualType(net) == VIR_DOMAIN_NET_TYPE_ETHERNET) {
|
||||
/* Set IP info for the host side, but only if the type is
|
||||
* 'ethernet'.
|
||||
*/
|
||||
if (virNetDevIPInfoAddToDev(parentVeth, &net->hostIP) < 0)
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if (net->filter &&
|
||||
virDomainConfNWFilterInstantiate(vm->uuid, net) < 0)
|
||||
goto cleanup;
|
||||
|
Loading…
Reference in New Issue
Block a user