aboutsummaryrefslogtreecommitdiff
path: root/fai/config/hooks/setup.DEFAULT.sh
blob: aced36f8fda053d4104b0807e312d7806a21b6da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/bash

### Disabling the below FAI default, as we want hostnames
### with domain suffixed during installation of Debian Edu
### systems.

# use short hostname instead of FQDN
#export HOSTNAME=${HOSTNAME%%.*}
#if [ $do_init_tasks -eq 1 ]; then
#  echo $HOSTNAME > /proc/sys/kernel/hostname
#fi

fping ntp.intern 1>/dev/null && ntpdate ntp.intern