projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aea0c5
)
added word-boundries to catch only full tap names
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 19 Aug 2022 12:13:16 +0000
(14:13 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 19 Aug 2022 12:13:16 +0000
(14:13 +0200)
filter/tap-instance-nic
patch
|
blob
|
history
diff --git
a/filter/tap-instance-nic
b/filter/tap-instance-nic
index
fc32856
..
90e095f
100755
(executable)
--- a/
filter/tap-instance-nic
+++ b/
filter/tap-instance-nic
@@
-1,3
+1,3
@@
# brctl show br0060 | ./filter/tap-instance-nic
-sed -e "$( grep . /var/run/ganeti/kvm-hypervisor/nic/*/* | sed 's/[/:]/ /g' | awk '{ print "s/
"$8"
/"$8" "$6" "$7"/ " }' )"
+sed -e "$( grep . /var/run/ganeti/kvm-hypervisor/nic/*/* | sed 's/[/:]/ /g' | awk '{ print "s/
\\b"$8"\\b
/"$8" "$6" "$7"/ " }' )"