[virt-tools-list] [virt-install PATCH v2 0/7] Deal with network resources during installation

Fabiano Fidêncio fidencio at redhat.com
Fri Mar 22 15:23:34 UTC 2019


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




More information about the virt-tools-list mailing list