diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2022-05-16 15:07:37 +0200 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2022-05-16 15:18:02 +0200 |
commit | d8efd3321c759440c1f9f66b55b6b2c8b1edb67a (patch) | |
tree | 4d8c846d9e0ef07c73d05293b2e254fdd94fbec6 /cli/utils.py | |
parent | 828d6c0ce7d4a6b4bcd95e97155460fd59856bdd (diff) |
create image: fix --repo default ip value
rest.URL is the ip and port of the ogServer like: 192.168.56.10:8888,
specified in ogcli.json.
As long as the host and port is specified in rest.URL, split by the ':'
character and extract the ip.
Fixes OpenGnsys clients failing to execute the command due to invalid
repository IP being fed to the underlying bash scripts.
Diffstat (limited to 'cli/utils.py')
0 files changed, 0 insertions, 0 deletions