qemu can have em0 with mac 52:54:00:12:34:57
authorKristof Provost <kp@FreeBSD.org>
Fri, 13 Jun 2025 15:05:26 +0000 (17:05 +0200)
committerKristof Provost <kp@FreeBSD.org>
Fri, 13 Jun 2025 15:05:26 +0000 (17:05 +0200)
ansible/scripts/set_hostname

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