Add script to provision TEST subscriber in SIM

This commit is contained in:
Er.Adam Eehan authored and GitHub committed 2026-11-11 14:01:22 +05:30
1 parent 846046b4a2
commit 8773baf60b
1 file changed
+9
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Adds a TEST subscriber. Requires open5gs-dbctl and MongoDB running.
# Never commit real SIM keys.
set -euo pipefail
IMSI=${IMSI:-001010123456780}
KI=${KI:-00112233445566778899aabbccddeeff}
OPC=${OPC:-63BFA50EE6523365FF14C1F45F88737D}
open5gs-dbctl add "$IMSI" "$KI" "$OPC"
open5gs-dbctl showall