diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-09 09:28:50 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-09 09:28:50 +0800 |
commit | 3987e36f8403607e62aa38a49e33cee41022165c (patch) | |
tree | 435dd5134ae5b87026a5a878a083d02b73728858 /zte/vmanager/docker/docker-entrypoint.sh | |
parent | cc74e699d215d8acf87e771e5073fdda0355f945 (diff) |
Fix bug for ztevnfmdriver
Change-Id: I6162c408aaec44832e83f6eef9c3894dfd77103c
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'zte/vmanager/docker/docker-entrypoint.sh')
-rwxr-xr-x | zte/vmanager/docker/docker-entrypoint.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zte/vmanager/docker/docker-entrypoint.sh b/zte/vmanager/docker/docker-entrypoint.sh index ef779a44..38eb4666 100755 --- a/zte/vmanager/docker/docker-entrypoint.sh +++ b/zte/vmanager/docker/docker-entrypoint.sh @@ -1,5 +1,8 @@ #!/bin/bash +sudo chown onap:onap -R /service +find /service -name '*.sh'|xargs chmod a+x + if [ -z "$SERVICE_IP" ]; then export SERVICE_IP=`hostname -i` fi |