projects
/
pennestraat-domotica
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
080d3c4
)
ansible: add pennestraat 22
author
Kristof Provost
<kp@FreeBSD.org>
Sat, 15 Feb 2025 15:46:44 +0000
(16:46 +0100)
committer
Kristof Provost
<kp@FreeBSD.org>
Sat, 15 Feb 2025 15:46:44 +0000
(16:46 +0100)
ansible/scripts/set_hostname
patch
|
blob
|
history
diff --git
a/ansible/scripts/set_hostname
b/ansible/scripts/set_hostname
index
2cd4978
..
cb42c63
100755
(executable)
--- a/
ansible/scripts/set_hostname
+++ b/
ansible/scripts/set_hostname
@@
-45,8
+45,13
@@
find_hostname()
echo "pennestraat22a"
fi
+ if [ "$(host_id)" == "00:0d:b9:61:c4:8c" ];
+ then
+ echo "pennestraat22"
+ fi
+
#penestraat22
- #pennestraat2
2a
+ #pennestraat2
0
exit 1
}