Fix hostname issue
[pti/o2.git] / charts / resources / scripts / init / o2api_start.sh
index 9b376f4..c1b239d 100644 (file)
 # pip install -e /root/o2
 pip install -e /src
 
-cat <<EOF>>/etc/hosts
-127.0.0.1  api
-127.0.0.1  postgres
-127.0.0.1  redis
-EOF
+cat <<EOF>>/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