From: Kristof Provost Date: Fri, 13 Jun 2025 15:05:26 +0000 (+0200) Subject: qemu can have em0 with mac 52:54:00:12:34:57 X-Git-Url: https://git.sigsegv.be/?a=commitdiff_plain;h=98424c584d3bebcf26197d7401522f6ddef6687f;p=pennestraat-domotica qemu can have em0 with mac 52:54:00:12:34:57 --- diff --git a/ansible/scripts/set_hostname b/ansible/scripts/set_hostname index 72a138d..10baa1e 100755 --- a/ansible/scripts/set_hostname +++ b/ansible/scripts/set_hostname @@ -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