added workstation fixes
[fai-configs.git] / scripts / FAISERVER / 10-conffiles
CommitLineData
2d1f8014 1#! /bin/bash
2
3fcopy -Bv /etc/dhcp3/dhcpd.conf /etc/default/tftpd-hpa # not needed /etc/apache2/conf.d
4fcopy -Bvr /etc/fai
5
6fcopy /etc/fai/apt/sources.list /etc/approx.conf
7
8if [ $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
17fi