Removing old vxlan interfaces in nuke.
This commit is contained in:
parent
ca112f6977
commit
fa66218193
3
nuke.yml
3
nuke.yml
@ -16,6 +16,9 @@
|
||||
- name: remove network namespaces
|
||||
shell: "rm /var/run/netns/*"
|
||||
ignore_errors: true
|
||||
- name: Remove stale vxlan interfaces
|
||||
shell: "for interface in $(ip link | grep DOWN | grep -Po 'vxlan-\d{1,2}'); do ip link del $interface ; done"
|
||||
ignore_errors: true
|
||||
|
||||
|
||||
- hosts: nova-compute
|
||||
|
Loading…
Reference in New Issue
Block a user