diff --git a/virt-install b/virt-install index 5343f0c91..62961b9f3 100755 --- a/virt-install +++ b/virt-install @@ -522,7 +522,7 @@ def _show_nographics_warnings(options, guest): return for args in options.extra_args: - if console_type in (options.extra_args or ""): + if console_type in (args or ""): return logging.warn(_("Did not find '%(console_string)s' in --extra-args, " diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py index 3b14aad4e..611c85798 100644 --- a/virtinst/urlfetcher.py +++ b/virtinst/urlfetcher.py @@ -639,6 +639,7 @@ class Distro(object): def _kernelFetchHelper(self, guest, kernelpath, initrdpath): # Simple helper for fetching kernel + initrd and performing # cleanup if necessary + ignore = guest kernel = self.fetcher.acquireFile(kernelpath) args = ''