added workstation fixes
[fai-configs.git] / scripts / FAISERVER / 20-copy-mirror
CommitLineData
2d1f8014 1#! /bin/bash
2
3# TODO: if we install from network copy the package mirror via, e.g., wget
4
5[ -d /media/mirror ] || exit 0
6
7echo "Copying Debian mirror from CD to local disk. This may take some time."
8mkdir -p $target/var/www/debian
9cp -a /media/mirror/* $target/var/www/debian
10
11cd $target/var/www/debian/dists
12# this link can only work when squeeze is released. For testing before the release use : ln -s testing squeeze
13ln -s stable squeeze
14
15fcopy -v /etc/rc2.d/S99fai-setup