From 72976e0662a9ed7d595cf506a68fc286771cb8f9 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Tue, 22 Aug 2023 11:51:01 -0400 Subject: [PATCH] live-booting: mention new coreos.liveiso.fromram kernel argument This was added in https://github.com/coreos/fedora-coreos-config/pull/2544. See also https://github.com/coreos/fedora-coreos-tracker/issues/1552 --- modules/ROOT/pages/live-booting.adoc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/live-booting.adoc b/modules/ROOT/pages/live-booting.adoc index b0dc90dc..31bdc1d1 100644 --- a/modules/ROOT/pages/live-booting.adoc +++ b/modules/ROOT/pages/live-booting.adoc @@ -25,12 +25,16 @@ podman run --security-opt label=disable --pull=always --rm -v .:/data -w /data \ quay.io/coreos/coreos-installer:release download -f iso ---- -- Use `coreos-installer iso customize` to embed your Ignition config into the ISO image. For example, for an Ignition config called `config.ign`: +- Use `coreos-installer iso customize` to customize the ISO for your needs. In this example we assume an Ignition config exists in a file `config.ign`. We also add the optional `coreos.liveiso.fromram` kernel argument to the live boot. ++ +NOTE: The `coreos.liveiso.fromram` is optional and is used in cases where you want to have no references to the booted media (ISO) once the system is up and running. This enables use cases like removing the media after boot or rewriting the disk the booted media is on, but does require more memory. + [source,bash,subs="attributes"] ---- +KERNEL_ARG='--live-karg-append=coreos.liveiso.fromram' +IGNITION_ARG='--live-ignition=./config.ign' podman run --security-opt label=disable --pull=always --rm -v .:/data -w /data \ - quay.io/coreos/coreos-installer:release iso customize --live-ignition config.ign \ + quay.io/coreos/coreos-installer:release iso customize $KERNEL_ARG $IGNITION_ARG \ -o customized.iso fedora-coreos-{stable-version}-live.x86_64.iso ----