[libvirt] [test-API][PATCH] Fix a typo which block windows cdrom install

Guannan Ren gren at redhat.com
Wed Aug 31 07:04:57 UTC 2011


On 08/31/2011 02:52 PM, Wayne Sun wrote:
> ---
>   repos/domain/install_windows_cdrom.py |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/repos/domain/install_windows_cdrom.py b/repos/domain/install_windows_cdrom.py
> index 9cf9e3b..b8333e2 100644
> --- a/repos/domain/install_windows_cdrom.py
> +++ b/repos/domain/install_windows_cdrom.py
> @@ -296,7 +296,7 @@ def install_windows_cdrom(params):
>       logger.debug("the uri to connect is %s" % uri)
>
>       if params.has_key('imagepath') and not params.has_key('volumepath'):
> -        imgfullpath = os..path.join(params.get('imagepath'), guestname)
> +        imgfullpath = os.path.join(params.get('imagepath'), guestname)
>       elif not params.has_key('imagepath') and not params.has_key('volumepath'):
>           if hypervisor == 'xen':
>               imgfullpath = os.path.join('/var/lib/xen/images', guestname)

      ACK and pushed

      Guannan Ren




More information about the libvir-list mailing list