bootstrap.cgi in Dell yum software repoHello, The file bootstrap.cgi is now used to add the repo and GPG key auto-magically to a client. Couple questions: 1. Is there a way to get the source script (for mirroring) similar to the way mirrors.pl-SOURCE is provided? 2. The output of the script says # If you wish to mirror the Dell yum repository, you need to: # --> ask me to redo these instructions, because I just made it a lot easier. :) Well ok. I'm asking :-). Thanks! Eric

Michael E Brown Michael_E_Brown at dell.com
Fri May 4 10:27:58 CDT 2007


On Fri, May 04, 2007 at 08:18:58AM -0400, Eric Yablonowitz wrote:
> Hello,
> 
> The file bootstrap.cgi is now used to add the repo and GPG key auto- 
> magically to a client.  Couple questions:
> 
> 1. Is there a way to get the source script (for mirroring) similar to  
> the way mirrors.pl-SOURCE is provided?

I've made a _tools/ directory and made -SOURCE symlinks to *all* the
files that have dynamically-generated content.

> 
> 2.  The output of the script says
> 
> # If you wish to mirror the Dell yum repository, you need to:
> #   --> ask me to redo these instructions, because I just made it a  
> lot easier. :)

The rule is that the first person to do this gets to help me write
instructions...

> Well ok.  I'm asking :-).

Good, that would be you, then. :)

My main difficulty right now is that we dont have rysnc inbound access
to the server. If you want I can rsync push content. You can either send
me a rsync server/port to send stuff to, or a passwordless ssh private
key I can use to rsync push stuff. I wouldnt mind setting up a daily
push.

The other option is you use a regular http mirror tool, then fix up the
cgi/ssi scripts using the -SOURCE symlinks I just posted.

The bootstrap script has been enhanced to allow easy private mirrors.
The bootstrap.sh script is served up by bootstrap.cgi, which does some
simple variable replacements in the script. It sets the host and
directory of the mirror. If that is different from the public mirror
site, it activates "private mirror mode" and changes the yum
baseurl/mirrorlist to point to your mirror exclusively.
--
Michael



More information about the Linux-PowerEdge mailing list