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