summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/objects/images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/objects/images.py b/cli/objects/images.py
index 270dfc3..c696d53 100644
--- a/cli/objects/images.py
+++ b/cli/objects/images.py
@@ -117,7 +117,7 @@ class OgImage():
help='Image description (for new images)')
parser.add_argument('--repo',
nargs='?',
- default=urlparse(rest.URL).netloc,
+ default=urlparse(rest.URL).netloc.split(':')[0],
help='Images repository ip')
group = parser.add_argument_group('clients', 'Client selection args')
group.add_argument('--client-ip',