summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0006_run_schedule.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-03-01 10:57:53 +0100
committerJose M. Guisado <jguisado@soleta.eu>2023-03-02 09:33:33 +0100
commita1edbe904b3019ec77b54fdd48c01183f4c73483 (patch)
tree7d2280c13a1d9df4e0e97c6c61acbd504f523d56 /tests/units/test_0006_run_schedule.py
parent1858950af194ef73d3ee589ae7104f7d3def9f38 (diff)
legacy: rewrite ogChangeRepo
Drop ogChangeRepo Bash script in favor of a native Python approach. Use only necessary subprocess calls instead of bringing all the logic of this function into a Bash script black box. ogChangeRepo unmounts the current OpenGnsys image samba folder (/opt/opengnsys/images) and mounts (connects to) a new directory using the new provided ip address. Keeping access mode from previous mount. If anything goes wrong when mounting the new directory, it will fallback to mounting the previous directory. If no previous OpenGnsys image samba directory is detected, this functions tries to mount the new directory anyway. In this case, it will raise CalledProcessError if something goes wrong.
Diffstat (limited to 'tests/units/test_0006_run_schedule.py')
0 files changed, 0 insertions, 0 deletions