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,6 +1352,9 @@ class Pungi(PungiBase):
'Alpha': 'A', 'Alpha': 'A',
'Beta': 'B', 'Beta': 'B',
'TC': 'T'} 'TC': 'T'}
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') 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