From f5eaa7326f4de4d1061ff9b898540be1582afabe Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 20 May 2015 15:12:31 -0500 Subject: [PATCH] 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 --- pungi/gather.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pungi/gather.py b/pungi/gather.py index dc8c947a..a9db6fa7 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