projects
/
pennestraat-domotica
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f34ea02
)
ansible: Add the mac for the first machine
author
Kristof Provost
<kp@FreeBSD.org>
Fri, 5 May 2023 09:29:14 +0000
(11:29 +0200)
committer
Kristof Provost
<kp@FreeBSD.org>
Fri, 5 May 2023 09:29:14 +0000
(11:29 +0200)
ansible/scripts/set_hostname
patch
|
blob
|
history
diff --git
a/ansible/scripts/set_hostname
b/ansible/scripts/set_hostname
index
8500549
..
71b0fd9
100755
(executable)
--- a/
ansible/scripts/set_hostname
+++ b/
ansible/scripts/set_hostname
@@
-30,7
+30,15
@@
find_hostname()
return
fi
- echo "unknown"
+ if [ "$(host_id)" == "00:0d:b9:61:99:d0" ];
+ then
+ echo "pennestraat20"
+ fi
+
+ #penestraat22
+ #pennestraat22a
+
+ exit 1
}
sysrc hostname="$(find_hostname)"