summaryrefslogtreecommitdiffstats
path: root/build/templates
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2015-11-16 11:07:54 +0800
committergrakiss <grakiss.wanglei@huawei.com>2015-11-16 14:45:50 +0800
commit40559d47089d66c0c81b9d7fd1a2c81b490a5927 (patch)
tree3882ee4311038166435d3c44bf2920e086cb1d1d /build/templates
parente21f4641344faa6d61e5f0f772662d9185a34b18 (diff)
using ELK in web-ui for running log
JIRA: COMPASS-142 - make repo for elk Change-Id: I3f0cc25d0485463edeff40f2ded03863c16fe8b5 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'build/templates')
-rw-r--r--build/templates/compass_core.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/templates/compass_core.tmpl b/build/templates/compass_core.tmpl
index 9c88cc4f..afecba58 100644
--- a/build/templates/compass_core.tmpl
+++ b/build/templates/compass_core.tmpl
@@ -16,8 +16,8 @@ yum -y install $pkg
mkdir -p /centos6-package
-find /var/cache/yum/ -name *.rpm | xargs -i cp {} /centos6-package
+find /var/cache/yum/ -name "*.rpm" | xargs -i cp {} /centos6-package
-find /centos6-package -size 0 -name *.rpm | xargs rm -f
+find /centos6-package -size 0 -name "*.rpm" | xargs rm -f
tar -zcvf /centos6-package.tar.gz /centos6-package