From: Jackie Huang Date: Tue, 15 Nov 2022 02:02:33 +0000 (+0000) Subject: Merge "Fix hostname issue" X-Git-Tag: 2.0.0-rc2~23 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=ad9b5cb3883c9eacc897810cec8fe1c74bf7daa0;p=pti%2Fo2.git Merge "Fix hostname issue" --- ad9b5cb3883c9eacc897810cec8fe1c74bf7daa0 diff --cc charts/resources/scripts/init/o2api_start.sh index 6c7ebbf,c1b239d..0ef9760 --- a/charts/resources/scripts/init/o2api_start.sh +++ b/charts/resources/scripts/init/o2api_start.sh @@@ -22,13 -22,13 +22,13 @@@ # pip install retry # pip install -e /root/o2 -pip install -e /src +# pip install -e /src - cat <>/etc/hosts - 127.0.0.1 api - 127.0.0.1 postgres - 127.0.0.1 redis - EOF + # cat <>/etc/hosts + # 127.0.0.1 api + # 127.0.0.1 postgres + # 127.0.0.1 redis + # EOF flask run --host=0.0.0.0 --port=80 --cert /configs/server.crt --key /configs/server.key