home
·
contact
·
privacy
projects
/
config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72aa9f8
)
Fix.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 19 Apr 2025 14:36:32 +0000
(16:36 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 19 Apr 2025 14:36:32 +0000
(16:36 +0200)
bookworm/scripts/setup_server.sh
patch
|
blob
|
history
diff --git
a/bookworm/scripts/setup_server.sh
b/bookworm/scripts/setup_server.sh
index 9f8fd9be3689af85c0fd662bbec53642cb973822..f77f4e4a32b98b9f207e61d58ad738920aec4edf 100755
(executable)
--- a/
bookworm/scripts/setup_server.sh
+++ b/
bookworm/scripts/setup_server.sh
@@
-26,7
+26,7
@@
echo -n 'Determining IP …'
EXTERNAL_IP=$(hostname -I | cut -d' ' -f1)
echo " it's: ${EXTERNAL_IP}"
-if [ ! -z "
FQDN
" ]; then
+if [ ! -z "
${FQDN}
" ]; then
echo "Ensuring provided FQDN ${FQDN} maps to it …"
IP_BY_DNS=$(getent ahostsv4 "${FQDN}" | head -1 | cut -d' ' -f1)
if [ ! "${IP_BY_DNS}" = "${EXTERNAL_IP}" ]; then