installer: Log warning when we set network-install resources

So the cli user will see it
This commit is contained in:
Cole Robinson 2019-06-13 22:01:02 -04:00
parent 34f42cc673
commit c37d6a7260
1 changed files with 2 additions and 2 deletions

View File

@ -210,8 +210,8 @@ class Installer(object):
ram = guest.osinfo.get_network_install_required_ram(guest)
ram = (ram or 0) // 1024
if ram > guest.currentMemory:
logging.debug("Setting ram from libosinfo network-install "
"resources to %s", ram)
logging.warning(_("Overriding memory to %s MiB needed for %s "
"network install."), ram // 1024, guest.osinfo.name)
guest.currentMemory = ram