summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
03147a6)
Change-Id: I350a7ea3d2ce643156bbad0047d865f35b49155f
Issue-ID: VFC-1647
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-find /service -name '*.sh'|xargs chmod a+x
-
if [ -z "$SERVICE_IP" ]; then
export SERVICE_IP=`hostname -i`
fi
if [ -z "$SERVICE_IP" ]; then
export SERVICE_IP=`hostname -i`
fi
wait
pip install --upgrade setuptools pip
pip install --no-cache-dir --pre -r /service/vfc/gvnfm/vnflcm/lcm/requirements.txt
wait
pip install --upgrade setuptools pip
pip install --no-cache-dir --pre -r /service/vfc/gvnfm/vnflcm/lcm/requirements.txt
+ find /service -name '*.sh'|xargs chmod a+x
- apk --no-cache add sudo
addgroup -g 1000 -S onap
adduser onap -D -G onap -u 1000
addgroup -g 1000 -S onap
adduser onap -D -G onap -u 1000
- chmod u+w /etc/sudoers
- sed -i '/User privilege/a\\onap ALL=(ALL:ALL) NOPASSWD:ALL' /etc/sudoers
- chmod u-x /etc/sudoers
- sudo chown onap:onap -R /service
+ chown onap:onap -R /service
}
config_logdir(){
if [ ! -d "/var/log/onap" ]; then
}
config_logdir(){
if [ ! -d "/var/log/onap" ]; then
- sudo mkdir /var/log/onap
- sudo chown onap:onap -R /var/log/onap
+ chown onap:onap -R /var/log/onap
chmod g+s /var/log/onap
}
chmod g+s /var/log/onap
}