projects
/
grml-debootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix handling of /etc/hosts
[grml-debootstrap.git]
/
grml-debootstrap
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
c90b1b0
..
69f2cf0
100755
(executable)
--- a/
grml-debootstrap
+++ b/
grml-debootstrap
@@
-779,7
+779,6
@@
preparechroot() {
# provide system's /etc/hosts to the target:
if ! [ -f "$MNTPOINT/etc/hosts" ] ; then
cp $VERBOSE /etc/hosts $MNTPOINT/etc/hosts
- sed -i "s#127.0.0.1 .*#127.0.0.1 localhost $HOSTNAME#" /etc/hosts
fi
# setup default locales