projects
/
pennestraat-domotica
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
082391a
)
ansible: list mac addres for pennestraat20
author
Kristof Provost
<kp@FreeBSD.org>
Sat, 22 Feb 2025 12:54:29 +0000
(13:54 +0100)
committer
Kristof Provost
<kp@FreeBSD.org>
Sat, 22 Feb 2025 12:54:29 +0000
(13:54 +0100)
ansible/scripts/set_hostname
patch
|
blob
|
history
diff --git
a/ansible/scripts/set_hostname
b/ansible/scripts/set_hostname
index
cb42c63
..
72a138d
100755
(executable)
--- 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
}