[Fixed] Fixed /etc/hosts entry
This commit is contained in:
parent
2f905f8168
commit
34bca18357
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue