remove scripts
[fai-configs.git] / scripts / FAISERVER / 10-conffiles
1 #! /bin/bash
2
3 fcopy -Bv /etc/dhcp3/dhcpd.conf /etc/default/tftpd-hpa # not needed /etc/apache2/conf.d
4 fcopy -Bvr /etc/fai
5
6 fcopy /etc/fai/apt/sources.list /etc/approx.conf
7
8 if [ $FAI_ACTION = "install" ]; then
9
10     # use the same sources.list for the server itself and the clients
11     cp -a $target/etc/fai/apt $target/etc/
12
13     rm -f $target/etc/resolv.conf
14
15     # create some host entries
16     perl -e 'for (1..25) {printf "192.168.1.%s atom%02s\n",$_,$_;}' >> $target/etc/hosts
17 fi