home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix broken /etc/hosts generation in server postinstall script.
[config]
/
jessie_start_server.sh
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