projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding live-initramfs 1.87.3-1.
[live-boot-grml.git]
/
scripts
/
live-bottom
/
18hostname
diff --git
a/scripts/live-bottom/18hostname
b/scripts/live-bottom/18hostname
index
591e4ec
..
3a54e87
100755
(executable)
--- a/
scripts/live-bottom/18hostname
+++ b/
scripts/live-bottom/18hostname
@@
-20,10
+20,10
@@
esac
log_begin_msg "$DESCRIPTION"
log_begin_msg "$DESCRIPTION"
-echo "$HOST" > /root/etc/hostname
+echo "$HOST
NAME
" > /root/etc/hostname
cat > /root/etc/hosts <<EOF
127.0.0.1 localhost
cat > /root/etc/hosts <<EOF
127.0.0.1 localhost
-127.0.1.1 $HOST
+127.0.1.1 $HOST
NAME
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback