aboutsummaryrefslogtreecommitdiffstats
path: root/update/templates/rm_images.sh
diff options
context:
space:
mode:
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