Red Hat Bugzilla – Bug 437514
virt-manager needs to trim input text
Last modified: 2009-12-14 16:10:03 EST
Description of problem:
Virt-manager does not trim the input text for the installation location or
kickstart location. When specifying an install location that contains a " "
(space) before the url, virt-manager detects it as an incorrect location and
fails to allow the user to proceed. This text should be trimmed of whitespace
before and after.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Input the following installation location: "
2. Note the " " whitespace in front of the URL.
Virt-manager complains with error message stating:
"""Kickstart URL Error
Kickstart location must be an NFS, HTTP or FTP source"""
Same is true for the Installation Location URL.
virt-manager trims the input text.
Attaching a simple proposed patch.
Created attachment 298072 [details]
proposed patch to trim input text for installation media and kickstart url
Hi, I've committed this upstream:
But its not high enough priority to pull it into 5.2 at this stage. We can
certainly pull it in for 5.3 though. Thanks!
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Okay, this should be fixed in virt-manager-0.5.3-9.el5. Setting bug to MODIFIED.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.