From 2f6c92c998131754b4abd57b87d025788bea0993 Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Mon, 4 Jul 2022 21:02:31 +0200 Subject: [PATCH] customs: add tv1.waw to dns/dhcp Also drive-by fix build for laserproxy. Change-Id: I37a5a5fc947e77a4507f5b6a660499ab93c3505d Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1329 Reviewed-by: informatic --- hswaw/laserproxy/default.nix | 1 + hswaw/machines/customs.hackerspace.pl/dhcpd.conf | 5 +++++ .../machines/customs.hackerspace.pl/zones/waw.hackerspace.pl | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/hswaw/laserproxy/default.nix b/hswaw/laserproxy/default.nix index 14e7d0a4..1a039922 100644 --- a/hswaw/laserproxy/default.nix +++ b/hswaw/laserproxy/default.nix @@ -26,6 +26,7 @@ pkgs.buildBazelPackage rec { lib.strings.hasInfix "/devtools/gerrit" name || lib.strings.hasSuffix "/hswaw" name || + lib.strings.hasInfix "/hswaw/site" name || lib.strings.hasInfix "/hswaw/laserproxy" name || lib.strings.hasSuffix "/BUILD" name || diff --git a/hswaw/machines/customs.hackerspace.pl/dhcpd.conf b/hswaw/machines/customs.hackerspace.pl/dhcpd.conf index 0ce071e1..e6bb6e17 100644 --- a/hswaw/machines/customs.hackerspace.pl/dhcpd.conf +++ b/hswaw/machines/customs.hackerspace.pl/dhcpd.conf @@ -139,6 +139,11 @@ subnet 10.8.0.0 netmask 255.255.0.0 { fixed-address 10.8.1.52; } + host tv1 { + hardware ethernet dc:a6:32:b1:68:d7; + fixed-address 10.8.1.53; + } + } # Printer subnet (10.10.7.0/24) has ip-helper 10.8.1.2 set on hs-core01. diff --git a/hswaw/machines/customs.hackerspace.pl/zones/waw.hackerspace.pl b/hswaw/machines/customs.hackerspace.pl/zones/waw.hackerspace.pl index 430ab751..c8e1791f 100644 --- a/hswaw/machines/customs.hackerspace.pl/zones/waw.hackerspace.pl +++ b/hswaw/machines/customs.hackerspace.pl/zones/waw.hackerspace.pl @@ -1,7 +1,7 @@ $ORIGIN . $TTL 180 waw.hackerspace.pl IN SOA customs.hackerspace.pl. bofh.hackerspace.pl. ( - 1621022198; serial + 1657053618; serial 1800 ; refresh (30 minutes) 1800 ; retry (30 minutes) 604800 ; expire (1 week) @@ -67,6 +67,7 @@ staszkecoin A 10.8.1.49 sokul A 10.8.1.50 blitzloop A 10.8.1.51 tronxy A 10.8.1.52 +tv1 A 10.8.1.53 dht01api A 94.240.35.98