Removing old vxlan interfaces in nuke.
This commit is contained in:
1 parent
ca112f6977
commit
fa66218193
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user