[et-mgmt-tools] fix for suse install on virtinst 0.3

Cole Robinson crobinso at redhat.com
Sun Sep 14 20:41:46 UTC 2008


Corey Henderson wrote:
> Hello,
>
> I'm running a CentOS 5.2 xen dom0 with opensuse 10.3 paravirutalized
> guests. I've been using my own installation script in the past, but have
> decided to give virt-install a whirl with autoyast.
>
> It got to the point where it downloads the ls-lR.gz file and looks for the
> kernel RPM, and fails.
>
> Looking at the code, I was a little puzzled as to why it's trying to
> extract a kernel rpm and built an initrd when one already exists in the
> opensuse 10.3 install tree.... so I wrote a quick patch that basically
> just removed the wacky code and added the paths:
>
> +        kernelpath = "boot/i386/vmlinuz-xenpae"
> +        initrdpath = "boot/i386/initrd-xenpae"
>
> (this is obviously just for i386, might want to do something a little more
> elaborate to detect if arch is x86_64)
>
> This patch is against the CentOS 5.2 distribution package:
> python-virtinst-0.300.2-8.el5 and it works for me beautifully now.
>
> Feedback is welcome.
>
> Thanks!
>   

Hi Corey,

Thanks for the patch, though current virtinst release 0.400.0 should
have this fixed, I updated the suse kernel fetching to work with their
latest tree structure a couple months ago.

Check out https://bugzilla.redhat.com/show_bug.cgi?id=449129 , this
is being tracked for RHEL 5.3, and there is a patch in that bug that
should fix your problems. If it doesn't, please follow up in the bug
report.

Thanks,
Cole




More information about the et-mgmt-tools mailing list