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 <dennis@ausil.us>
This commit is contained in:
Dennis Gilmore 2015-05-20 15:12:31 -05:00
parent b6825f3471
commit f5eaa7326f

View File

@ -1352,7 +1352,10 @@ class Pungi(PungiBase):
'Alpha': 'A', 'Alpha': 'A',
'Beta': 'B', 'Beta': 'B',
'TC': 'T'} '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') version = self.config.get('pungi', 'version')
arch = self.tree_arch arch = self.tree_arch