[Pkg-libvirt-maintainers] Bug#604532: virtinst: Cannot install Lenny guest over HTTP

Cole Robinson crobinso at redhat.com
Mon Nov 22 18:05:56 UTC 2010


On 11/22/2010 12:25 PM, 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.
> 


FYI this has been fixed upstream for a long time, the fix should be easy
to backport.





More information about the Pkg-libvirt-maintainers mailing list