diff options
-rw-r--r-- | templates/interfaces/dummy/node.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/interfaces/dummy/node.def b/templates/interfaces/dummy/node.def index e3ef83de..9906bc74 100644 --- a/templates/interfaces/dummy/node.def +++ b/templates/interfaces/dummy/node.def @@ -11,3 +11,5 @@ begin: [ -d /sys/module/dummy ] || sudo modprobe dummy create: ip link add name $VAR(@) type dummy ip link set $VAR(@) up +delete: ip link set dev $VAR(@) down + ip link delete dev $VAR(@) |