projects
/
pennestraat-domotica
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30af1d3
)
set_hostname: add Johan's device
author
Kristof Provost
<kp@FreeBSD.org>
Wed, 1 May 2024 21:02:40 +0000
(23:02 +0200)
committer
Kristof Provost
<kp@FreeBSD.org>
Wed, 1 May 2024 21:02:40 +0000
(23:02 +0200)
ansible/scripts/set_hostname
patch
|
blob
|
history
diff --git
a/ansible/scripts/set_hostname
b/ansible/scripts/set_hostname
index
71b0fd9
..
66714a1
100755
(executable)
--- a/
ansible/scripts/set_hostname
+++ b/
ansible/scripts/set_hostname
@@
-35,6
+35,11
@@
find_hostname()
echo "pennestraat20"
fi
+ if [ "$(host_id)" == "00:0d:b9:61:c6:6c" ];
+ then
+ echo "johan"
+ fi
+
#penestraat22
#pennestraat22a