From b23c62e0e9bf8602338d66b3e2d8f7036ad4c8f4 Mon Sep 17 00:00:00 2001 From: Thomas Schmid Date: Fri, 14 Jan 2022 22:22:49 +0100 Subject: [PATCH 1/2] dhcpd: dns_intern: remove obsolete host garlic.binary.kitchen Signed-off-by: Thomas Schmid --- roles/dhcpd/templates/dhcp/dhcpd.conf.j2 | 5 ----- roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 | 1 - roles/dns_intern/templates/bind/binary.kitchen.zone.j2 | 1 - 3 files changed, 7 deletions(-) diff --git a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 index 3b8bf45..1ca8f39 100644 --- a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 +++ b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 @@ -182,11 +182,6 @@ host fusilli { fixed-address fusilli.binary.kitchen; } -host garlic { - hardware ethernet b8:27:eb:56:2b:7c; - fixed-address garlic.binary.kitchen; -} - host habdisplay1 { hardware ethernet b8:27:eb:b6:62:be; fixed-address habdisplay1.mqtt.binary.kitchen; diff --git a/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 b/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 index 19f31c9..6367f43 100644 --- a/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 +++ b/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 @@ -59,7 +59,6 @@ $GENERATE 10-230 $.3 IN PTR dhcp-${0,3,d}-03.binary.kitchen. 240.3 IN PTR fusilli.binary.kitchen. 241.3 IN PTR klopi.binary.kitchen. 242.3 IN PTR mpcnc.binary.kitchen. -243.3 IN PTR garlic.binary.kitchen. 244.3 IN PTR mirror.binary.kitchen. 245.3 IN PTR spaghetti.binary.kitchen. 246.3 IN PTR maccaroni.binary.kitchen. diff --git a/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 b/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 index 7bca58b..77201ba 100644 --- a/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 +++ b/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 @@ -83,7 +83,6 @@ $GENERATE 10-230 dhcp-${0,3,d}-03 IN A 172.23.3.$ fusilli IN A 172.23.3.240 klopi IN A 172.23.3.241 mpcnc IN A 172.23.3.242 -garlic IN A 172.23.3.243 mirror IN A 172.23.3.244 spaghetti IN A 172.23.3.245 maccaroni IN A 172.23.3.246 -- 2.39.5 From e0c869819b788490c3da4daaae4719c814205e35 Mon Sep 17 00:00:00 2001 From: Thomas Schmid Date: Fri, 14 Jan 2022 22:23:01 +0100 Subject: [PATCH 2/2] dhcpd: update mac address of 3D-Printer Raspberry Pi's Update mac address of cannelloni.binary.kitchen, maccaroni.binary.kitchen, noodlehub.binary.kitchen and spaghetti.binary.kitchen Signed-off-by: Thomas Schmid --- roles/dhcpd/templates/dhcp/dhcpd.conf.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 index 1ca8f39..8442d81 100644 --- a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 +++ b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 @@ -173,7 +173,7 @@ host bowle { } host cannelloni { - hardware ethernet 00:10:f3:15:88:ac; + hardware ethernet b8:27:eb:18:5c:11; fixed-address cannelloni.binary.kitchen; } @@ -203,7 +203,7 @@ host lock { } host maccaroni { - hardware ethernet b8:27:eb:18:5c:11; + hardware ethernet b8:27:eb:f5:9e:a1; fixed-address maccaroni.binary.kitchen; } @@ -223,7 +223,7 @@ host mpcnc { } host noodlehub { - hardware ethernet b8:27:eb:eb:e5:88; + hardware ethernet b8:27:eb:56:2b:7c; fixed-address noodlehub.binary.kitchen; } @@ -238,7 +238,7 @@ host pizza { } host spaghetti { - hardware ethernet b8:27:eb:e3:e9:f1; + hardware ethernet b8:27:eb:eb:e5:88; fixed-address spaghetti.binary.kitchen; } -- 2.39.5