summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2010-03-04 10:27:52 -0500
committerBill Peck <bpeck@redhat.com>2010-03-04 10:27:52 -0500
commitaad36e076b7e4ea038a5ec4b7c3b055fbf7ec3ce (patch)
tree038cc0fa130703567ec36650ab8b0fd921da1bba
parentc05c872c1369b8c88de436f8c8a1fe10fb5cf093 (diff)
ignore xen variants as well
-rwxr-xr-xLabController/triggers/sync/post/osversion.trigger5
1 files changed, 3 insertions, 2 deletions
diff --git a/LabController/triggers/sync/post/osversion.trigger b/LabController/triggers/sync/post/osversion.trigger
index 63c9c08..3db0f8c 100755
--- a/LabController/triggers/sync/post/osversion.trigger
+++ b/LabController/triggers/sync/post/osversion.trigger
@@ -279,8 +279,9 @@ if __name__ == '__main__':
release = re.compile(r'family=([^\s]+)')
variant_search = re.compile(r'variant=([^\s]+)')
for distro in push_distros:
- # Only process nfs distros
- if distro['name'].find('_nfs-') == -1:
+ # Only process nfs distros and skip xen distros too
+ if distro['name'].find('_nfs-') == -1 or \
+ distro['name'].find('-xen-') != -1:
continue
VARIANT=''
FAMILYUPDATE=None