standalone mongodb
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
db_uri: mongodb://MONGO_IP/open5gs
|
||||
|
||||
logger:
|
||||
file: /open5gs/install/var/log/open5gs/pcrf.log
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
export IP_ADDR=$(awk 'END{print $1}' /etc/hosts)
|
||||
|
||||
cp /mnt/pcrf/pcrf.yaml install/etc/open5gs
|
||||
sed -i 's|mongodb://localhost/|mongodb://'$HSS_IP'/|g' install/etc/open5gs/pcrf.yaml
|
||||
sed -i 's|MONGO_IP|'$MONGO_IP'|g' install/etc/open5gs/pcrf.yaml
|
||||
sed -i 's|NAME|'$NAME'|g' install/etc/open5gs/pcrf.yaml
|
||||
sed -i 's|REALM|'$REALM'|g' install/etc/open5gs/pcrf.yaml
|
||||
sed -i 's|PCRF_IP|'$IP_ADDR'|g' install/etc/open5gs/pcrf.yaml
|
||||
sed -i 's|PGW_IP|'$PGW_IP'|g' install/etc/open5gs/pcrf.yaml
|
||||
sed -i 's|PGW_IP|'$PGW_IP'|g' install/etc/open5gs/pcrf.yaml
|
||||
|
||||
Reference in New Issue
Block a user