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. Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- virtinst/osdict.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/virtinst/osdict.py b/virtinst/osdict.py index 64d8bdb8..b0442527 100644 --- a/virtinst/osdict.py +++ b/virtinst/osdict.py @@ -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 -- 2.21.0 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list