Skip to content

Commit

Permalink
Edit for Kali cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmercer committed Sep 5, 2024
1 parent f5f22ad commit 46557ac
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ packages=(

sec_packages=(
"bloodhound"
"box64"
"chisel"
"dnscat2"
"hurl"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{{- if and (eq .chezmoi.os "linux") (eq .chezmoi.arch "arm64") -}}
#!/usr/bin/env bash
set -eufo pipefail

# if shell is interactive, prompt for sudo
if [[ $- == *i* ]]; then
sudo -v
fi

# Keep-alive: update existing `sudo` time stamp until linux installs have finished
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &

sudo apt update

arm64_packages=(
"box64"
)

# Loop through the array and install each package
for arm64_package in "${arm64_packages[@]}"; do
echo "Installing $arm64_package..."
sudo apt install -y $arm64_package
done

{{- end -}}

0 comments on commit 46557ac

Please sign in to comment.