From 93acba7da300b4a1c555a84c5df8b7bec8449961 Mon Sep 17 00:00:00 2001 From: Taylor Bourne Date: Wed, 3 Nov 2021 16:15:10 -0700 Subject: [PATCH] feat: make lazystream host configurable --- root/etc/cont-init.d/50-update-hosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/cont-init.d/50-update-hosts b/root/etc/cont-init.d/50-update-hosts index 9919717..8615ae4 100644 --- a/root/etc/cont-init.d/50-update-hosts +++ b/root/etc/cont-init.d/50-update-hosts @@ -10,7 +10,7 @@ exec 1> >(prepend "[update-hosts] ") # Update hosts file -export IP=$(getent ahostsv4 freesports.ddns.net | awk '{ print $1 }' | head -1) +export IP=$(getent ahostsv4 "$lazyStreamHost" | awk '{ print $1 }' | head -1) echo $IP playback.svcs.mlb.com >> /etc/hosts echo $IP mf.svc.nhl.com >> /etc/hosts