by Ossi Hanhinen, @ohanhi
with the support of Futurice 💚.
Licensed under CC BY 4.0.
#!/usr/bin/env bash | |
# This assumes a booted rescue system, copies the installation media to the destination disk | |
# it'll then add a CIDATA partition to the end of the disk, and prepare it with user-data | |
# used in a terraform ssh provisioner, but extracted to here for now. | |
destination_disk=/dev/nvme0n1 | |
talos_version=v0.14.3 | |
wipefs -af $destination_disk | |
wget https://github.com/talos-systems/talos/releases/download/${talos_version}/nocloud-amd64.raw.xz |