This patch series takes advantage of the information present on libosinfo (but not yet on osinfo-db) about the amount of RAM needed by some distros to perform a network installation, as some distros require more RAM during the installation proicess than the recommended amount needed for running the OS. Changes since v1: https://www.redhat.com/archives/virt-tools-list/2019-March/msg00060.html - Created a osdict::OsMedia class, wrapping Libosinfo.Media so we can have the code checking for whether the media requires internet for installation or not self-contained on osdict.py - Moved the whole logic about setting-up the guest XML to installer.py Fabiano Fidêncio (7): osdict: Add get_network_install_resources() osdict: Add OsinfoMedia class osdict: Add requires_internet() to OsMedia urldetect: return osdict.py:OsMedia instead of Libosinfo.Media unattended: Take advantage of OsinfoMedia.requires_internet() installertreemedia: Add requires_internet() installer: Set the network install resources when needed virtinst/installer.py | 32 ++++++++++++++++++++++++++------ virtinst/installertreemedia.py | 18 ++++++++++++++---- virtinst/osdict.py | 31 ++++++++++++++++++++++++++++++- virtinst/unattended.py | 19 +++++++------------ virtinst/urldetect.py | 8 ++++---- 5 files changed, 81 insertions(+), 27 deletions(-) -- 2.20.1 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list