projects
/
grml-live-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Integrate feedback from Thomas Lange (thanks for the review!)
[grml-live-grml.git]
/
etc
/
grml
/
fai
/
config
/
scripts
/
GRML
/
34-hosts
diff --git
a/etc/grml/fai/config/scripts/GRML/34-hosts
b/etc/grml/fai/config/scripts/GRML/34-hosts
index
3d30bba
..
d3ae45b
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRML/34-hosts
+++ b/
etc/grml/fai/config/scripts/GRML/34-hosts
@@
-6,7
+6,8
@@
HOSTNAME=''
[ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf
[ -n "$HOSTNAME" ] || HOSTNAME=grml
[ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf
[ -n "$HOSTNAME" ] || HOSTNAME=grml
-cat > "$target"/etc/hosts << EOF
+# FIXME: use /etc/grml/fai/... as base
+cat > $target/etc/hosts << EOF
127.0.0.1 $HOSTNAME localhost
# The following lines are desirable for IPv6 capable hosts
127.0.0.1 $HOSTNAME localhost
# The following lines are desirable for IPv6 capable hosts