|
Hello, I am trying to use kairos to install ubuntu image on multiple nodes. I have following constrains:
I am not able to execute custom scripts from config.yaml since any custom script that is copied in the iso's root directory is not available since /run/initramfs/live is not mounted. Is there a way to copy arbitrary files from the iso to installer environment (temporary or permanent) so that they can be executed at different stages of the installation ? Any help is appreciated. base image name: kairos-ubuntu-24.04-standard-amd64-generic-v3.6.0-k3sv1.33.5+k3s1.iso |
Replies: 2 comments 7 replies
auroraboot can also be used as a binary (it's built with go) and it doesn't require docker, at least not for all of its features. You may be able to build an ISO using the binary directly, I'm not 100% sure.
See my reply here: #3857 (comment) |
|
Thanks ! |
Hi @rohitntnx, you may already have solved this, apologies if so.
... and further apologies if any of this sounds like 'teaching you to suck eggs' 🙄
/run/initramfs/livewill be available only when running from the ISO ([ -f "/run/cos/live_mode" ]).initramfs/boot/fsstages run on both live and installed systems./run/initramfs/livenot being mounted.initramfs/boot/fsstages haven't yet mounted theCOS_OEMpartition (when running in live mode), so runningtest.shwhich tries to write into/oemwill work, but it'll write into the ramdi…