summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuraj.linkes <jlinkes@cisco.com>2017-09-25 18:07:33 +0200
committerjuraj.linkes <jlinkes@cisco.com>2017-09-25 18:08:32 +0200
commitdd85a6c21cc0c092748d25f410541be4f99777e6 (patch)
tree37e086bc736255741b84116572151a03e1819c7e
parentf5e75a40dd663fd42645f5a334983ce519a697b6 (diff)
Quick fix in resource cleanup for vpp-exec
Change-Id: Iddef4e7411ce55f2612821b221751b6031b42ac6 Signed-off-by: juraj.linkes <jlinkes@cisco.com>
-rwxr-xr-xscripts/resource_cleanup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/resource_cleanup.sh b/scripts/resource_cleanup.sh
index 0344dfa..93d41c9 100755
--- 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