ansible: list mac addres for pennestraat20
authorKristof Provost <kp@FreeBSD.org>
Sat, 22 Feb 2025 12:54:29 +0000 (13:54 +0100)
committerKristof Provost <kp@FreeBSD.org>
Sat, 22 Feb 2025 12:54:29 +0000 (13:54 +0100)
ansible/scripts/set_hostname

index cb42c63..72a138d 100755 (executable)
@@ -50,8 +50,10 @@ find_hostname()
                echo "pennestraat22"
        fi
 
-       #penestraat22
-       #pennestraat20
+       if [ "$(host_id)" == "00:0d:b9:61:8d:08" ];
+       then
+               echo "pennestraat20"
+       fi
 
        exit 1
 }