\d needs to be escaped
This commit is contained in:
parent
de998c6794
commit
1b84feb5ed
2
nuke.yml
2
nuke.yml
|
@ -17,7 +17,7 @@
|
|||
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"
|
||||
shell: "for interface in $(ip link | grep DOWN | grep -Po 'vxlan-\\d{1,2}'); do ip link del $interface ; done"
|
||||
ignore_errors: true
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue