summaryrefslogtreecommitdiffstats
path: root/deployment/ocp-on-vmware.py
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/ocp-on-vmware.py')
-rwxr-xr-xdeployment/ocp-on-vmware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/ocp-on-vmware.py b/deployment/ocp-on-vmware.py
index c54a9d17..ce8a29b8 100755
--- a/deployment/ocp-on-vmware.py
+++ b/deployment/ocp-on-vmware.py
@@ -112,7 +112,7 @@ class OCPOnVMWare(object):
url += '/Packages/'
resp = requests.get(url)
if resp.ok:
- v = self.docker_image_tag.split('v')[-1].strip()
+ v = self.docker_image_tag.split('v')[-1].strip().split('-')[0]
return (('atomic-openshift-%s' % v) in resp.text)
raise Exception(
"Failed to pull list of packages from '%s' url." % url)