Oliver Smith
effdb1a452
Move common code from osmo-*-latest to debian-stretch-obs-latest: * add the OBS repository key * add the OBS repository with "latest" feed * install telnet * invalidate the cache once the repository is updated This is in preparation to make osmo-*-latest work with centos8, preventing the following issues we would have without this refactoring: * avoid need to read the repository index of both debian-stretch and centos8, and to invalidate the cache if either of them changes (instead of just the relevant one). This is currently a problem in osmo-*-master/Dockerfile, Id69f3eaf37f823bac0947366f27a25edd277a4cb will fix it there. * no need to add boilerplate code to install the centos8 repository to each osmo-*-latest/Dockerfile While at it, also remove deprecated MAINTAINER lines. Related: OS#5049 Related: https://docs.docker.com/engine/reference/builder/#maintainer-deprecated Change-Id: I443d52eba416ea298cc5421e280ad2f4ca59283b |
||
---|---|---|
.. | ||
runit | ||
.release | ||
Dockerfile | ||
Makefile | ||
README | ||
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.