From 12b0872349fb4d580f1d0961d36aecaeed85d34a Mon Sep 17 00:00:00 2001 From: Maximilian Wilhelm Date: Fri, 2 Oct 2020 03:06:22 +0200 Subject: [PATCH] vxlan executor: Fix typo and remove code copied from link executor. Signed-off-by: Maximilian Wilhelm --- executor-scripts/linux/vxlan | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/executor-scripts/linux/vxlan b/executor-scripts/linux/vxlan index 4ee96ea..67db07b 100755 --- a/executor-scripts/linux/vxlan +++ b/executor-scripts/linux/vxlan @@ -1,6 +1,6 @@ #!/bin/sh # -# This executor is responsible for setting up the Virtual Extensible LAN (VXLA) overlay interfaces. +# This executor is responsible for setting up the Virtual Extensible LAN (VXLAN) overlay interfaces. # # Fri, 02 Oct 2020 01:10:29 +0200 # -- Maximilian Wilhelm @@ -35,12 +35,6 @@ case "$PHASE" in create) if [ -d "/sys/class/net/${IFACE}" ]; then - iface_type=$(ip -d link show dev "${IFACE}" | head -n3 | tail -n1 | awk '{ print $1 }') - if [ "${iface_type}" != 'dummy' ]; then - echo "Interface ${IFACE} exists but is of type ${iface_type} instead of dummy" - exit 1 - fi - exit 0 fi