mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
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:
parent
6d8bf5dff1
commit
224d29b799
@ -640,3 +640,6 @@ class _OsMedia(object):
|
|||||||
|
|
||||||
def get_install_script_list(self):
|
def get_install_script_list(self):
|
||||||
return list(_OsinfoIter(self._media.get_install_script_list()))
|
return list(_OsinfoIter(self._media.get_install_script_list()))
|
||||||
|
|
||||||
|
def get_osinfo_media(self):
|
||||||
|
return self._media
|
||||||
|
Loading…
Reference in New Issue
Block a user