Hub: Add livemedia image type

Signed-off-by: Jon Disnard <jdisnard@redhat.com>
This commit is contained in:
Jon Disnard 2015-10-15 16:43:06 -05:00 committed by Mike McLean
parent 1deb0932de
commit d12cb6e298

View file

@ -8103,7 +8103,7 @@ class RootExports(object):
Create an image using a kickstart file and group package list.
"""
if img_type not in ('livecd', 'appliance'):
if img_type not in ('livecd', 'appliance', 'livemedia'):
raise koji.GenericError, 'Unrecognized image type: %s' % img_type
context.session.assertPerm(img_type)