Fix previous
authorKristof Provost <kp@FreeBSD.org>
Fri, 13 Jun 2025 15:35:48 +0000 (17:35 +0200)
committerKristof Provost <kp@FreeBSD.org>
Fri, 13 Jun 2025 15:35:48 +0000 (17:35 +0200)
ansible/scripts/set_hostname

index 10baa1e..fae61d1 100755 (executable)
@@ -24,7 +24,7 @@ host_id()
 
 find_hostname()
 {
-       if [ "$(host_id)" == "52:54:00:12:34:56" || "$(host_id)" == "52:54:00:12:34:57" ];
+       if [ "$(host_id)" == "52:54:00:12:34:56" ] || [ "$(host_id)" == "52:54:00:12:34:57" ];
        then
                echo "qemu"
                return