[virt-tools-list] [PATCH] - 'virt-install --prompt' produce error on empty input
Cole Robinson
crobinso at redhat.com
Mon Sep 13 13:45:22 UTC 2010
On 09/09/2010 03:15 PM, Shahar Havivi wrote:
> On responding to prompt:
> $ What is the install CD-ROM/ISO or URL?
> With no input (just press <Enter>) continue to install but produce error
> in log.
>
> ---
> diff -r 2eacc2fed4dd virt-install
> --- a/virt-install Wed Sep 08 17:45:38 2010 -0400
> +++ b/virt-install Thu Sep 09 22:12:07 2010 +0300
> @@ -619,6 +619,9 @@
> cdpath = None
> media = cli.prompt_for_input("", prompt_txt, None)
>
> + if not len(media):
> + continue
> +
> if not ishvm or media.count(":/"):
> location = media
> else:
> ---
>
Thanks, applied:
http://hg.fedorahosted.org/hg/python-virtinst/rev/f82c5fcb966a
- Cole
More information about the virt-tools-list
mailing list