projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SW: add libnss-mdns to GRML_FULL to support .local
[grml-live.git]
/
etc
/
grml
/
fai
/
config
/
scripts
/
GRMLBASE
/
34-hosts
diff --git
a/etc/grml/fai/config/scripts/GRMLBASE/34-hosts
b/etc/grml/fai/config/scripts/GRMLBASE/34-hosts
index
3f9cec1
..
d943534
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRMLBASE/34-hosts
+++ b/
etc/grml/fai/config/scripts/GRMLBASE/34-hosts
@@
-14,7
+14,7
@@
HOSTNAME=''
[ -r /etc/grml/grml-live.local ] && . /etc/grml/grml-live.local
[ -n "$HOSTNAME" ] || HOSTNAME=grml
[ -r /etc/grml/grml-live.local ] && . /etc/grml/grml-live.local
[ -n "$HOSTNAME" ] || HOSTNAME=grml
-fcopy /etc/hosts
+fcopy
-v
/etc/hosts
# replace $HOSTNAME with the real hostname:
sed -i "s/\$HOSTNAME/$HOSTNAME/" $target/etc/hosts
# replace $HOSTNAME with the real hostname:
sed -i "s/\$HOSTNAME/$HOSTNAME/" $target/etc/hosts