Add initial support for option -C
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 05-hostname
index 63b9b8e..ee5ba49 100755 (executable)
@@ -11,7 +11,8 @@ set -u
 set -e
 
 HOSTNAME=''
-[ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf
+[ -r /etc/grml/grml-live.conf ]  && . /etc/grml/grml-live.conf
+[ -r /etc/grml/grml-live.local ] && . /etc/grml/grml-live.local
 [ -n "$HOSTNAME" ] || HOSTNAME=grml
 echo "$HOSTNAME" > $target/etc/hostname