SIEMbitwardendnscrypthome assistantjellyfinjitsimulti-factor authenticationnextcloudonlyofficepiholeraspberry pirocket.chatsyncthingtorwazuhwireguard
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
342 B
13 lines
342 B
|
6 years ago
|
#!/bin/bash
|
||
|
|
|
||
|
|
VAR_FILE=/opt/mistborn_volumes/base/base.txt
|
||
|
|
|
||
|
|
source /opt/mistborn/scripts/subinstallers/platform.sh
|
||
|
|
|
||
|
|
export MISTBORN_DNS_BIND_IP="0.0.0.0"
|
||
|
|
if [ "$DISTRO" == "ubuntu" ] && [ "$VERSION_ID" == "20.04" ]; then
|
||
|
|
export MISTBORN_DNS_BIND_IP="10.2.3.1"
|
||
|
|
fi
|
||
|
|
|
||
|
|
echo "MISTBORN_DNS_BIND_IP=${MISTBORN_DNS_BIND_IP}" | sudo tee ${VAR_FILE}
|