[CentOS-virt] virt-install in CentOS 5

Sun Mar 9 12:56:28 UTC 2008
Kanwar Ranbir Sandhu <m3freak at thesandhufamily.ca>

On Sat, 2008-03-08 at 20:35 -0800, Mark D. Foster wrote:
> Try passing
> 
> http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os 
> as the base url.

I've tried that too, and even though I wasn't very clear about it in my
original email, it's what I used for the CentOS 5 domU installs.
Anyway, for Fedora 8, that base USL makes virt-install bomb out even
harder:

[root at xenmaster apcupsd]# virt-install -p -n krs -r 512 -m
00:16:3E:66:94:5F -b xenbr0 --vnc --vncport=5910 -l
http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os
-f /dev/vg00/krs -d

Starting install...
Sun, 09 Mar 2008 08:41:37 DEBUG    Fetching URI
http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/Fedora
Sun, 09 Mar 2008 08:41:37 DEBUG    Cannot find file Fedora
Sun, 09 Mar 2008 08:41:37 DEBUG    Fetching URI
http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/Server
Sun, 09 Mar 2008 08:41:37 DEBUG    Cannot find file Server
Sun, 09 Mar 2008 08:41:37 DEBUG    Fetching URI
http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/Client
Sun, 09 Mar 2008 08:41:37 DEBUG    Cannot find file Client
Sun, 09 Mar 2008 08:41:37 DEBUG    Fetching URI
http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/RedHat
Sun, 09 Mar 2008 08:41:37 DEBUG    Cannot find file RedHat
Sun, 09 Mar 2008 08:41:37 DEBUG    Fetching URI
http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/CentOS
Sun, 09 Mar 2008 08:41:37 DEBUG    Cannot find file CentOS
Sun, 09 Mar 2008 08:41:37 DEBUG    Fetching URI
http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/directory.yast
Sun, 09 Mar 2008 08:41:37 DEBUG    Doesn't look like a Suse distro
Invalid URL location given: [Errno 14] HTTP Error 404: Not Found
ERROR:  Could not find an installable distribution the install location

What the hell is virt-install doing?  Why isn't it just looking for the
xen kernel in the images sub-dir of that base url?

Regards,

Ranbir
-- 
Kanwar Ranbir Sandhu
Linux 2.6.22.14-72.fc6 i686 GNU/Linux 
08:47:13 up 4 days, 20:53, 2 users, load average: 1.08, 0.78, 0.55