osdict: Add get_osinfo_media() to _OsMedia class

Let's add a way to get the OsinfoMedia from the _OsMedia class. It's
going to be needed in order to properly generate the command line for
the unattended installations, when doing an installation from a media.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
Fabiano Fidêncio 2019-07-12 15:02:20 +02:00 committed by Cole Robinson
parent 6d8bf5dff1
commit 224d29b799

View File

@ -640,3 +640,6 @@ class _OsMedia(object):
def get_install_script_list(self):
return list(_OsinfoIter(self._media.get_install_script_list()))
def get_osinfo_media(self):
return self._media