Ubuntu Persistent LIVE-USB Automation Scripts
Awesome — here’s a single, idempotent bash automation script that: Adds the Kali Rolling repo (safely pinned so Ubuntu core won’t be replaced) Imports the Kali signing key the right way (signed-by=…) Installs selected Kali meta-packages (customizable) Hardens with UFW + optional security tools Installs Ollama and sets a handy ai alias > Works great on your Ubuntu persistent Live-USB. It won’t touch Parrot OS (not included). --- 1) Save the script (on Ubuntu persistent session) Create a file named setup-persistent-ubuntu-kali-ollama.sh and paste everything below: #!/usr/bin/env bash # Persistent Ubuntu Live-USB setup with Kali tools (pinned) + Ollama # Safe-by-default: pins Kali to low priority; installs only explicitly requested packages. # Tested on Ubuntu 22.04/24.04 live sessions. set -euo pipefail ### ───────────────────────────────────────────────────────────────────────────── ### Configurable toggles (edit as needed) ### ────────────────────────────────────────────────────────...