[Pkg-libvirt-maintainers] Bug#604532: Bug#604532: virtinst: Cannot	install Lenny guest over HTTP
    Guido Günther 
    agx at sigxcpu.org
       
    Tue Nov 23 08:36:20 UTC 2010
    
    
  
tags 604532 -patch 
thanks
On Mon, Nov 22, 2010 at 05:25:07PM +0000, Tom Grace wrote:
> Package: virtinst
> Version: 0.400.0-7
> Severity: normal
> Tags: patch
> 
> The virt-install command uses Redhat style CPU arch naming, causing an error fetching the kernel and initrd from the mirror. 
> I've worked around this by hardcoding the arch in the file /usr/share/python-support/virtinst/virtinst/OSDistro.py thus:
> 
> 538,539c538,539
> <             kernelpath = "%s/netboot/debian-installer/%s/linux" % (self._prefix, self.arch)
> <             initrdpath = "%s/netboot/debian-installer/%s/initrd.gz" % (self._prefix, self.arch)
> ---
> >             kernelpath = "%s/netboot/debian-installer/amd64/linux" % (self._prefix)
> >             initrdpath = "%s/netboot/debian-installer/amd64/initrd.gz" % (self._prefix)
> 
> 
> This isn't a real fix, more of a quick hack, but it does get the installer to run.
This is fixed in Squeeze and in an updated version on backports.debian.org.
Cheers,
 -- Guido
    
    
More information about the Pkg-libvirt-maintainers
mailing list