Commit ad336ec2 authored by Mike Hibler's avatar Mike Hibler
Browse files

Exclude vnode hosts from the magic veth->peth remapping hack.

Original version broke openvz vnode host setup of vnode experimental
interfaces.
parent 3a99095b
......@@ -1287,7 +1287,8 @@ sub getifconfig($;$)
# don't have to force virtual devices onto physical nodes just because
# some virtual nodes in the same experiment require multiplexed links.
#
if ($hasvirt && !JAILED() && !GENVNODE() && !REMOTE() && !PLAB()) {
if ($hasvirt && !JAILED() && !JAILHOST() && !GENVNODE() &&
!REMOTE() && !PLAB()) {
#
# Prelim: find out how many virt interfaces mapped to each phys
# interface and locate the entry for each phys interface.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment