[K12OSN] rsync K12LTSP repository

Lance Jahnig jahnigl at hotmail.com
Fri Nov 3 15:00:55 UTC 2006


>From: "Joshua Chessman" <jchessman at sad61.k12.me.us>
>Reply-To: "Support list for open source software in schools." 
><k12osn at redhat.com>
>To: k12osn at redhat.com
>Subject: [K12OSN] rsync K12LTSP repository
>Date: Fri, 03 Nov 2006 09:48:27 -0500
>
>Greetings All-
>
>I have four LTSP servers running in my district and instead of sending
>each one out to update from the Internet I'd like to create a local
>repository.  I've been trying to rsync the data down from
>http://k12linux.mesd.k12.or.us/K12LTSP/5.0.0-32bit/ to no avail.  Does
>anyone have any hints they can pass along?
>
>Thanks!
>
>"Those who say it can't be done should not interrupt those who are busy
>doing it!"
>
>Joshua Chessman
>Network Manager
>M.S.A.D. #61
>jchessman at sad61.k12.me.us
>

This is the script that I use.

#!/bin/sh
DATE=`/bin/date +%Y-%m-%d`
OUTDIR='/tmp'
MIRROR=/var/ftp/k12ltsp-5.0.0
[ -d $OUTDIR ] || mkdir -p $OUTDIR
OUTFILE=$OUTDIR/mirrior-output-$DATE.txt

/bin/nice /usr/bin/rsync --verbose --progress --stats --archive --partial 
--delete --exclude iso/ k12linux.mesd.k12.or.us::K12LTSP-5.0.0-32bit-all/ 
$MIRROR >> $OUTFILE

--------------------------------------------------------------------------------------------------------
And a local.repo file that looks like this.

[local]
name=local
baseurl=ftp://INTERNAL.SERVER/k12ltsp-5.0.0
gpgkey=http://k12linux.mesd.k12.or.us/K12LTSP-GPG-KEY
       http://k12linux.mesd.k12.or.us/BETA-RPM-GPG-KEY
       http://k12linux.mesd.k12.or.us/FEDORA-GPG-KEY
       http://k12linux.mesd.k12.or.us/FEDORA-LEGACY-GPG-KEY
       http://k12linux.mesd.k12.or.us/RPM-GPG-KEY
       http://k12linux.mesd.k12.or.us/RPM-GPG-KEY-fedora
       http://k12linux.mesd.k12.or.us/RPM-GPG-KEY-fedora-test
enabled=1
gpgcheck=1

_________________________________________________________________
Get today's hot entertainment gossip  
http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001




More information about the K12OSN mailing list