Skip to content

Commit 16e3f93

Browse files
authored
fix: xud image hosts file (#683)
1 parent 42b8227 commit 16e3f93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

images/xud/entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ echo "[entrypoint] Onion address for xud is $XUD_ADDRESS"
5555

5656
echo '[entrypoint] Detecting localnet IP for lndbtc...'
5757
LNDBTC_IP=$(getent hosts lndbtc || echo '' | awk '{ print $1 }')
58-
echo "[entrypoint] $LNDBTC_IP lndbtc" >> /etc/hosts
58+
echo "$LNDBTC_IP lndbtc" >> /etc/hosts
5959

6060
echo '[entrypoint] Detecting localnet IP for lndltc...'
6161
LNDLTC_IP=$(getent hosts lndltc || echo '' | awk '{ print $1 }')
62-
echo "[entrypoint] $LNDLTC_IP lndltc" >> /etc/hosts
62+
echo "$LNDLTC_IP lndltc" >> /etc/hosts
6363

6464
echo '[entrypoint] Detecting localnet IP for connext...'
6565
CONNEXT_IP=$(getent hosts connext || echo '' | awk '{ print $1 }')
66-
echo "[entrypoint] $CONNEXT_IP connext" >> /etc/hosts
66+
echo "$CONNEXT_IP connext" >> /etc/hosts
6767

6868

6969
while [[ ! -e /root/.lndbtc/tls.cert ]]; do

0 commit comments

Comments
 (0)