/[fai]/trunk/examples/simple/scripts/FAISERVER/20-copy-mirror
ViewVC logotype

Contents of /trunk/examples/simple/scripts/FAISERVER/20-copy-mirror

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3198 - (show annotations) (download)
Thu Jan 5 19:38:31 2006 UTC (7 years, 5 months ago) by lange
File size: 448 byte(s)
add class FAISERVER, class is not yet ready-to-go
1 #! /bin/bash
2
3 [ -d /media/mirror ] || exit 0
4
5 echo "Copying Debian mirror from CD to local dis. This may take some time."
6 mkdir -p $target/var/www/debian
7 cp -a /media/mirror/* $target/var/www/debian
8
9 echo "deb http://faiserver/debian stable main" > $target/etc/apt/sources.list
10
11 # fix mirror, otherwise debootstrap can't work. Curently packages in sarge (fai-*)
12 # can not be accessed
13 cd $target/var/www/debian/dists
14 mv sarge tom
15 ln -s stable sarge

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5