From 1e4a211b134970d6524ff406202a30a0839e7ed9 Mon Sep 17 00:00:00 2001 From: Kristof Provost Date: Sat, 22 Feb 2025 13:54:29 +0100 Subject: [PATCH] ansible: list mac addres for pennestraat20 --- ansible/scripts/set_hostname | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ansible/scripts/set_hostname b/ansible/scripts/set_hostname index cb42c63..72a138d 100755 --- a/ansible/scripts/set_hostname +++ b/ansible/scripts/set_hostname @@ -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 } -- 2.51.0