[xen-tools] Re: Can't define CentOS mirror

Steve Kemp steve at steve.org.uk
Sun Apr 8 17:08:14 CEST 2007


On Tue, Apr 03, 2007 at 09:42:40PM +0200, Gal Buki wrote:

> I'm installing CentOS 4 with xen-tools and used 
> "--mirror=http://mymirror.tld/centos" to define the mirror.
> 
> But why do I still get this output:
> rpmstrap: debug: wget 
> http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/basesystem-8.0-4.noarch.rpm
> 
> I tried several mirrors but it look slike the script would always get 
> the packages from the same mirror statet above.
> 
> Is the ouptut false or did I do a fault with the command?

  No.  There is a bug (?) in xt-install-system.  The --mirror
 option is ignored for rpmstrap, and only used for debootstrap.

  See the code :

      my $command = "rpmstrap $EXTRA $CONFIG{'dist'} $CONFIG{'location'}";

  $EXTRA is used for "--arch=foo", if present, the only other options
 passed are the distribution and the location on the local filesystem.

  Please try editing the script to add --mirror=$CONFIG{'mirror'} in
 the do_rpmstrap function, in the same way as is used in the
 do_debootstrap function.

  If that works I'll update the code when I get back to Edinburgh,
 which will be tomorrow.

  cheers for the bug report.

Steve
-- 





More information about the xen-tools-discuss mailing list