From adeedcc73d3c3581dc680b22f31d9a3b183606f3 Mon Sep 17 00:00:00 2001 From: "elston.lewis" Date: Wed, 29 Nov 2023 13:55:44 +0100 Subject: [PATCH] Added net-tools dde debian12 --- linux.pkr.hcl | 1 + scripts/linux/net-tools.sh | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 scripts/linux/net-tools.sh diff --git a/linux.pkr.hcl b/linux.pkr.hcl index 6ca4525..a67affa 100644 --- a/linux.pkr.hcl +++ b/linux.pkr.hcl @@ -68,6 +68,7 @@ build { "./scripts/linux/dns.sh", "./scripts/linux/rhel-activation.sh", "./scripts/linux/ntp.sh", + "./scripts/linux/net-tools.sh", "./scripts/linux/packages.sh", "./scripts/linux/boot.sh", "./scripts/linux/ssh.sh", diff --git a/scripts/linux/net-tools.sh b/scripts/linux/net-tools.sh new file mode 100644 index 0000000..444c7e1 --- /dev/null +++ b/scripts/linux/net-tools.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -e + +if [[ "$1" == "debian12" ]]; then + chroot /mnt/ apt install net-tools -y +fi