add an APT repo to a new machine and bootstrap from a package
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dev 2640d96268
All checks were successful
Deploy Bootstrap Script / deploy (push) Successful in 8s
remove rogue fi
2026-11-05 20:10:06 +00:00
.forgejo/workflows add rsync 2026-11-05 19:54:44 +00:00
.gitignore remove rogue fi 2026-11-05 20:10:06 +00:00
README.md fix gramar 2026-11-05 18:54:03 +00:00
toaster.sh remove rogue fi 2026-11-05 20:10:06 +00:00

TLDR;

On a machine to be toasted, create a file /tmp/toaster.env

APT_URI="your forgejo instance here"
APT_TOKEN="forgejo token with package read permissions"
APT_OWNER="forgejo owner of packages (username or organization)"
APT_PACKAGE="the package name of your hmi with dependencies as required for your plc program"

run curl https://sovereignza.github.io/toaster/toaster.sh | sudo bash

Connect a forgejo debian repository to a new machine and pull a package. Probably with dependencies. Let's aptitude do all of the dependency management stuff, probably including other repositories for dependencies. You may need to change stable and main in the toaster.sh to match your distribution and components. This was inspired by all of the toasters I have written.