Skip to content

Commit

Permalink
live-booting: mention new coreos.liveiso.fromram kernel argument
Browse files Browse the repository at this point in the history
  • Loading branch information
dustymabe committed Aug 23, 2023
1 parent f4d3b35 commit 084fb4c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/ROOT/pages/live-booting.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
----

Expand Down

0 comments on commit 084fb4c

Please sign in to comment.