This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Ubuntu Installation Script with LUKS-encrypted BTRFS, systemd-boot, and Secure Boot | |
# Author: Claude (modified and improved with apt speed enhancements) | |
# Usage: sudo bash script.sh [install_device] [username] [hostname] [locale] [language] [timezone] | |
# Passwords can be provided via environment or will be prompted securely. | |
set -euo pipefail | |
# Log file for the installation process | |
LOGFILE="/var/log/ubuntu_install_script.log" |