[Fixed] Fixed /etc/hosts entry

This commit is contained in:
xdrm-brackets 2017-03-10 17:21:31 +01:00
parent 2f905f8168
commit 34bca18357
2 changed files with 2 additions and 2 deletions

View File

@ -368,7 +368,7 @@ step9(){
sudo chmod -R 770 /mnt/home/sats/satsd; sudo chmod -R 770 /mnt/home/sats/satsd;
# (7) Add entry in /etc/hosts if LOCAL_TEST not empty # # (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"; echo "<<< done";

View File

@ -25,4 +25,4 @@ export WAREHOUSE_TOKEN="52131065a906de90e26da0732e58400edd6739cfa03fc658e7593abe
# FOR TESTING ONLY - IF RUN ON LOCAL # FOR TESTING ONLY - IF RUN ON LOCAL
# will create an entry in /etc/hosts to user local SMMP # 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";