From 5789c76e2ca0362a173448e6e6c4ee7a29bf490b Mon Sep 17 00:00:00 2001 From: gau1991 Date: Thu, 4 Sep 2014 15:43:50 +0530 Subject: [PATCH] Fixed hostname issue in Debian --- bin/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install b/bin/install index 57c28662..8a69a91d 100644 --- a/bin/install +++ b/bin/install @@ -90,7 +90,7 @@ function ee_lib_check_fqdn() if [ "$EE_FQDN" != "" ];then echo $EE_FQDN > /etc/hostname if [ "$EE_LINUX_DISTRO" == "Debian" ];then - grep $EE_FQDN /etc/hosts &>> $EE_COMMAND_LOG + grep $EE_FQDN /etc/hosts &>> $EE_INSTALL_LOG if [ $? -ne 0 ]; then sed -i '1i\127.0.0.1 $EE_FQDN' /etc/hosts \ || ee_lib_error "Unable setup hostname = " $?