From 34bca18357a1e99985e88d0d137bc357c43062fc Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 10 Mar 2017 17:21:31 +0100 Subject: [PATCH] [Fixed] Fixed /etc/hosts entry --- clone/clone | 2 +- clone/clone.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clone/clone b/clone/clone index b84c93b..245de7d 100755 --- a/clone/clone +++ b/clone/clone @@ -368,7 +368,7 @@ step9(){ sudo chmod -R 770 /mnt/home/sats/satsd; # (7) Add entry in /etc/hosts if LOCAL_TEST not empty # - test -n "$LOCAL_TEST" && echo "\n$LOCAL_TEST\n" | sudo tee -a /mnt/etc/hosts > /dev/null; + test -n "$LOCAL_TEST" && echo -e "\n$LOCAL_TEST\n" | sudo tee -a /mnt/etc/hosts > /dev/null; echo "<<< done"; diff --git a/clone/clone.conf b/clone/clone.conf index c7de52a..5eaf64e 100755 --- a/clone/clone.conf +++ b/clone/clone.conf @@ -25,4 +25,4 @@ export WAREHOUSE_TOKEN="52131065a906de90e26da0732e58400edd6739cfa03fc658e7593abe # FOR TESTING ONLY - IF RUN ON LOCAL # will create an entry in /etc/hosts to user local SMMP -export LOCAL_TEST="192.168.0.18 logauth"; +export LOCAL_TEST="192.168.0.15 logauth";