Skip downloading giant VMware images

We're never going to use them in devstack-gate.

Change-Id: I66b7d768276616b8f11052449a41ca304cbf8942
This commit is contained in:
Monty Taylor 2014-03-10 22:21:47 -07:00
parent 139f1f0986
commit b0a03f43e0

View File

@ -96,7 +96,10 @@ def local_prep(distribution):
continue
if line[0] == line[-1] == '"':
line = line[1:-1]
images += [x.strip() for x in line.split(',')]
# Add image to the list to be downloaded, but
# skip downloading giant vmware images
images += [x.strip() for x in line.split(',')
if not x.strip().endswith('vmdk')]
branch_data['images'] = images
branches.append(branch_data)
return branches