From 6702b8ed49d32eb7b102c39239daf0c8930b9a0e Mon Sep 17 00:00:00 2001 From: Bernhard Czypka <130161325+czyber@users.noreply.github.com> Date: Sat, 22 Mar 2025 21:06:05 +0100 Subject: [PATCH] fix: use FQDN instead of HOST --- docs/03-compute-resources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/03-compute-resources.md b/docs/03-compute-resources.md index 85691d5..79cb3e8 100644 --- a/docs/03-compute-resources.md +++ b/docs/03-compute-resources.md @@ -107,7 +107,7 @@ Set the hostname on each machine listed in the `machines.txt` file: while read IP FQDN HOST SUBNET; do CMD="sed -i 's/^127.0.1.1.*/127.0.1.1\t${FQDN} ${HOST}/' /etc/hosts" ssh -n root@${IP} "$CMD" - ssh -n root@${IP} hostnamectl hostname ${HOST} + ssh -n root@${IP} hostnamectl hostname ${FQDN} done < machines.txt ```