Code Review
/
fds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f5e75a4
)
Quick fix in resource cleanup for vpp-exec
21/43021/1
author
juraj.linkes
<jlinkes@cisco.com>
Mon, 25 Sep 2017 16:07:33 +0000
(18:07 +0200)
committer
juraj.linkes
<jlinkes@cisco.com>
Mon, 25 Sep 2017 16:08:32 +0000
(18:08 +0200)
Change-Id: Iddef4e7411ce55f2612821b221751b6031b42ac6
Signed-off-by: juraj.linkes <jlinkes@cisco.com>
scripts/resource_cleanup.sh
patch
|
blob
|
history
diff --git
a/scripts/resource_cleanup.sh
b/scripts/resource_cleanup.sh
index
0344dfa
..
93d41c9
100755
(executable)
--- a/
scripts/resource_cleanup.sh
+++ b/
scripts/resource_cleanup.sh
@@
-199,7
+199,7
@@
clean_overcloud_resource() {
then
if [[ $(grep -c vpp-exec /etc/vpp/startup.conf) -eq 0 ]]
then
- sed '/unix {/ a \ \ exec /etc/vpp/vpp-exec' /etc/vpp/startup.conf
+ sed
-i
'/unix {/ a \ \ exec /etc/vpp/vpp-exec' /etc/vpp/startup.conf
fi
INTERFACES=$(grep -Eo "[^ ]*GigabitEthernet[^ ]+" /etc/vpp/vpp-exec | uniq | sort)
else