From f98720b57b41010d9c769ec8f44c76ee4fad4f4d Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 26 Mar 2021 09:27:52 +0100 Subject: [PATCH] bundles/dhcpd: sort dchp leases by ip in bash alias --- bundles/dhcpd/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/dhcpd/metadata.py b/bundles/dhcpd/metadata.py index bc0b253..5bf3924 100644 --- a/bundles/dhcpd/metadata.py +++ b/bundles/dhcpd/metadata.py @@ -5,7 +5,7 @@ defaults = { }, }, 'bash_aliases': { - 'leases': 'sudo dhcp-lease-list', + 'leases': 'sudo dhcp-lease-list | tail -n +4 | sort -k 2,2', }, }