From 4f9281a4a46f0674362d7699e555a89714a50998 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 15 Nov 2020 11:40:33 +0100 Subject: [PATCH] bundles/dhcpd: download oui.txt --- bundles/dhcpd/items.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bundles/dhcpd/items.py b/bundles/dhcpd/items.py index 85e388e..f3d7125 100644 --- a/bundles/dhcpd/items.py +++ b/bundles/dhcpd/items.py @@ -25,6 +25,14 @@ files = { }, } +actions = { + # needed for dhcp-lease-list + 'dhcpd_download_oui.txt': { + 'command': 'wget http://standards-oui.ieee.org/oui.txt -O /usr/local/etc/oui.txt', + 'unless': 'test -f /usr/local/etc/oui.txt', + }, +} + svc_systemd = { 'isc-dhcp-server': { 'needs': {