Pau Espin
78ae9377a7
Similar to what is already done with DISTRO, which points to given image of ours based on name. This time we do the same with upstream images, such as debian:stretch or centos:centos8. This way, for instance calling docker_images_require "osmo-bsc-latest-centos8" would try to build the osmo-bsc-latest/Dockerfile file starting from a centos8 image. Change-Id: I33cb21aa024396974559fd98f9f3c64e2c351eda |
||
---|---|---|
.. | ||
runit | ||
.release | ||
Dockerfile | ||
Makefile | ||
README | ||
Release.key | ||
osmo-ggsn.cfg | ||
osmo-hlr.cfg | ||
osmo-mgw.cfg | ||
osmo-msc.cfg | ||
osmo-msc.cfg.base | ||
osmo-sgsn.cfg | ||
osmo-stp.cfg | ||
provision-hlr.py | ||
run.sh |
README
You need a csv with the simcard data and osmo-config-merge needs to be in your path. To create hlr.db and change the mcc/mnc run: ./provision_hlr.py --mcc 901 --mnc 23 source.csv This will create the hlr.db and a simcards.csv where the first digits of the IMSI will be changed to match the MCC/MNC. In order to reprogram the IMSIs of the SIM cards run pySim-prog: ./pySim-prog.py -p 0 -t sysmoUSIM-SJS1 --source=csv --read-csv=simcards.csv --read-iccid This is only needed if the mcc/mnc options are used.