diff options
author | xu ran <xuranyjy@chinamobile.com> | 2020-03-10 12:56:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-10 12:56:07 +0000 |
commit | 3e83f2710cd06e28624dbe4246381c2c648030e8 (patch) | |
tree | ef62338429841099f82aeb69c6e899da0a603fd5 /standalone/src/main/assembly/resources/bin | |
parent | 0c3903d9da8695364a4a564f9344707b66b28002 (diff) | |
parent | fb2de9c6846507e8ee8ea12d59d75212bfbd1271 (diff) |
Merge "Modify the startup related scripts to support the no root startup of the container!"
Diffstat (limited to 'standalone/src/main/assembly/resources/bin')
-rw-r--r-- | standalone/src/main/assembly/resources/bin/initDB.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/standalone/src/main/assembly/resources/bin/initDB.sh b/standalone/src/main/assembly/resources/bin/initDB.sh index 97e65ad3..cdfa4b5c 100644 --- a/standalone/src/main/assembly/resources/bin/initDB.sh +++ b/standalone/src/main/assembly/resources/bin/initDB.sh @@ -23,9 +23,9 @@ user_pg=$3 user_uui=$4 echo "setting postgres database password" -su - $user_pg <<EOF +#su - $user_pg <<EOF psql --command "alter user $user_pg with password '$user_pg';" -EOF +#EOF echo "start create usecase-ui database..." dbscripts_path="$main_path/resources/dbscripts/postgres" |