home
·
contact
·
privacy
projects
/
config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6a969c
)
Fix broken /etc/hosts generation in server postinstall script.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 30 Sep 2015 02:26:21 +0000
(
04:26
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 30 Sep 2015 02:26:21 +0000
(
04:26
+0200)
jessie_start_server.sh
patch
|
blob
|
history
diff --git
a/jessie_start_server.sh
b/jessie_start_server.sh
index 4db22876333b3c25aaaef5386129d5042535ce3f..1ce290040790b4dfe62072045bc8a80915de25fb 100755
(executable)
--- a/
jessie_start_server.sh
+++ b/
jessie_start_server.sh
@@
-24,7
+24,7
@@
echo 'APT::Install-Suggests "false";' >> /etc/apt/apt.conf.d/99mindeps
# Set hostname and FQDN.
echo 'plomlompom' > /etc/hostname
-echo '127.0.0.1' > /etc/hosts
+echo '127.0.0.1
localhost
' > /etc/hosts
ip=`hostname -I`
echo "$ip plomlompom.com plomlompom" >> /etc/hosts