summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/database
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-02-28 12:38:28 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-28 12:38:28 +0000
commitceec6112afca5350c512d78678009d4eae27ae54 (patch)
tree18abba38343a32d38abc84f8d3bdeb20c1c995fe /deploy/adapters/ansible/roles/database
parent1fb21b2816b0658b98cc7a7114e65650ffc2bb8f (diff)
parent4d202848c3ab31c38bec10646ce1ab9e7af43222 (diff)
Merge "Add License header for files without it"
Diffstat (limited to 'deploy/adapters/ansible/roles/database')
-rw-r--r--[-rwxr-xr-x]deploy/adapters/ansible/roles/database/files/remove_user.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/database/files/remove_user.sh b/deploy/adapters/ansible/roles/database/files/remove_user.sh
index 88b1518d..dc0b43fa 100755..100644
--- a/deploy/adapters/ansible/roles/database/files/remove_user.sh
+++ b/deploy/adapters/ansible/roles/database/files/remove_user.sh
@@ -1,4 +1,13 @@
#!/bin/sh
+##############################################################################
+# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+
mysql -uroot -Dmysql <<EOF
use mysql;
delete from user where user='';