From 643c115a9a7dc079cf525b0948ebf3091aa8fc82 Mon Sep 17 00:00:00 2001 From: Aaron Murray Date: Thu, 1 Feb 2024 18:19:13 -0600 Subject: [PATCH] install jq Signed-off-by: Aaron Murray --- preinstall | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/preinstall b/preinstall index bef1a03..dd0492d 100755 --- a/preinstall +++ b/preinstall @@ -1,5 +1,13 @@ #!/bin/bash +export DEBIAN_FRONTEND=noninteractive +export APT_LISTCHANGES_FRONTEND=none +export LANG=C.UTF-8 +export LANGUAGE=C +export LC_ALL=C.UTF-8 + +apt-get --yes --no-install-recommends jq + mac="$(ip -j a show dev eth0 | jq -r .[].address | head -n1)" if [ -z "${mac}" ]; then mac="$(ip -j a show dev end0 | jq -r .[].address | head -n1)"