Last active
May 6, 2023 17:22
-
-
Save lsjostro/0cdc6d6b5fdddb33f83e4c8b4e2826ee to your computer and use it in GitHub Desktop.
talos iso convert to nocloud platform
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
docker run --rm -i -w /work -v "$PWD":/work --entrypoint sh ghcr.io/siderolabs/imager:v1.4.0 -c ' | |
installer iso --arch amd64 --output . && | |
xorriso -osirrox on -indev ./talos-amd64.iso -extract / /tmp && | |
rm -f ./talos-amd64.iso && | |
sed -i 's/talos.platform=metal/talos.platform=nocloud/g' /tmp/boot/grub/grub.cfg && | |
grub-mkrescue --compress=xz --output=./talos-amd64-nocloud.iso /tmp' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment