We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7c1446 + 9bc3459 commit c29c73cCopy full SHA for c29c73c
1 file changed
lib/ironic
@@ -460,7 +460,7 @@ function create_ovs_taps {
460
# intentional sleep to make sure the tag has been set to port
461
sleep 10
462
463
- local tapdev=$(sudo ip netns exec qdhcp-${ironic_net_id} ip link list | grep tap | cut -d':' -f2 | cut -b2-)
+ local tapdev=$(sudo ip netns exec qdhcp-${ironic_net_id} ip link list | grep " tap" | cut -d':' -f2 | cut -b2-)
464
local tag_id=$(sudo ovs-vsctl show |grep ${tapdev} -A1 -m1 | grep tag | cut -d':' -f2 | cut -b2-)
465
466
# make sure veth pair is not existing, otherwise delete its links
0 commit comments