set_hostname: add Johan's device
authorKristof Provost <kp@FreeBSD.org>
Wed, 1 May 2024 21:02:40 +0000 (23:02 +0200)
committerKristof Provost <kp@FreeBSD.org>
Wed, 1 May 2024 21:02:40 +0000 (23:02 +0200)
ansible/scripts/set_hostname

index 71b0fd9..66714a1 100755 (executable)
@@ -35,6 +35,11 @@ find_hostname()
                echo "pennestraat20"
        fi
 
+       if [ "$(host_id)" == "00:0d:b9:61:c6:6c" ];
+       then
+               echo "johan"
+       fi
+
        #penestraat22
        #pennestraat22a