This file contains hidden or 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 | |
| # Update source from bookworm to trixie | |
| sed -i 's/bookworm/trixie/g' /etc/apt/sources.list | |
| apt-get update | |
| # Upgrade to trixie | |
| DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" dist-upgrade -y | |
| # Disable services that break in LXC / containers (harmless if not present) | |
| systemctl disable --now systemd-networkd-wait-online.service || true |