From f5eaa7326f4de4d1061ff9b898540be1582afabe Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: May 20 2015 20:14:00 +0000 Subject: if there is a variant use it in the volume id and shorten it. this will make each producst install tree have different volume ids for their isos Signed-off-by: Dennis Gilmore --- diff --git a/pungi/gather.py b/pungi/gather.py index dc8c947..a9db6fa 100644 --- a/pungi/gather.py +++ b/pungi/gather.py @@ -1352,7 +1352,10 @@ class Pungi(PungiBase): 'Alpha': 'A', 'Beta': 'B', 'TC': 'T'} - name = self.config.get('pungi', 'family') + if self.config.get('pungi', 'variant'): + name += '%s-%s' % (self.config.get('pungi', 'family'), self.config.get('pungi', 'variant')) + else: + name = self.config.get('pungi', 'family') version = self.config.get('pungi', 'version') arch = self.tree_arch