Skip to content

Commit

Permalink
Added net-tools dde debian12
Browse files Browse the repository at this point in the history
  • Loading branch information
ElstonLewis committed Nov 29, 2023
1 parent 75486ce commit adeedcc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions linux.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions scripts/linux/net-tools.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -e

if [[ "$1" == "debian12" ]]; then
chroot /mnt/ apt install net-tools -y
fi

0 comments on commit adeedcc

Please sign in to comment.