only use FQDN for pub/private osrf domains
authorBill Erickson <berickxx@gmail.com>
Tue, 31 May 2016 21:09:30 +0000 (17:09 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 31 May 2016 21:09:30 +0000 (17:09 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
installer/16.04-xenial/eg_xenial_installer.sh

index 76b2661..dc555d1 100755 (executable)
@@ -284,8 +284,8 @@ function setting_ldconfig_and_rsyslog_and_hosts_and_ejabberd {
 
         if [ $YES ]; then
             echo 'Adding public.localhost and private.localhost to /etc/hosts'
-            echo '127.0.1.2    public.localhost     public' >> /etc/hosts
-            echo '127.0.1.3    private.localhost    private' >> /etc/hosts
+            echo '127.0.1.2    public.localhost' >> /etc/hosts
+            echo '127.0.1.3    private.localhost' >> /etc/hosts
         else
 
         cat <<EOF