aboutsummaryrefslogtreecommitdiffstats
path: root/update/templates/rm_images.sh
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2019-04-29 03:02:13 -0400
committerxudan <xudan16@huawei.com>2019-04-29 03:52:34 -0400
commit7f7db8302e20664b7552bfcc6d8147b6b9a9ec3a (patch)
tree060fe5cec439fe84190e4d25035c13361ecbd564 /update/templates/rm_images.sh
parent8d118a999ffec1d246863b82d6a9513db9f49cb1 (diff)
Add License for Dovetail webportal
Add license for all files in this repo except following: 1. all .png, .gif and .json files 2. all empty __init__.py files 3. MANIFEST.in 4. .htmllintrc 5. node-requirements.txt 6. update/README.md 7. opnfv_testapi/ui/auth/rsa.pem 8. opnfv_testapi/tornado_swagger/README.md 9. 3rd_party/static/testapi_ui/favicon.ico 10. 3rd_party/static/onap_ui/favicon.ico Change-Id: I6329d09b67cdafaa545cea7894e5edf3466d0009 Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'update/templates/rm_images.sh')
-rwxr-xr-xupdate/templates/rm_images.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/update/templates/rm_images.sh b/update/templates/rm_images.sh
index 6722573..c166072 100755
--- a/update/templates/rm_images.sh
+++ b/update/templates/rm_images.sh
@@ -1,4 +1,12 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
number=`docker images | awk 'NR != 1' | grep testapi | wc -l`
if [ $number -gt 0 ]; then