From a9c92b348f86cca7a15a6ed69425987c526c91ac Mon Sep 17 00:00:00 2001 From: Adrian Stadelmann Date: Sat, 16 Nov 2024 11:22:35 +0100 Subject: [PATCH] update fcos documentation --- docs/operating_systems/fcos.md | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/docs/operating_systems/fcos.md b/docs/operating_systems/fcos.md index c1fe4b7afeb..2d77b076e79 100644 --- a/docs/operating_systems/fcos.md +++ b/docs/operating_systems/fcos.md @@ -1,6 +1,6 @@ # Fedora CoreOS -Tested with stable version 37.20230322.3.0 +Tested with stable version 40.20241019.3.0 Because package installation with `rpm-ostree` requires a reboot, playbook may fail while bootstrap. Restart playbook again. @@ -30,7 +30,7 @@ files: ### Prepare -Prepare ignition and serve via http (a.e. python -m http.server ) +Create ignition file ```json { @@ -51,19 +51,8 @@ Prepare ignition and serve via http (a.e. python -m http.server ) } } ``` +and [produce an Ignition Config](https://docs.fedoraproject.org/en-US/fedora-coreos/producing-ign/) ### create guest -```ShellSeasion -machine_name=myfcos1 -ignition_url=http://mywebserver/fcos.ign - -fcos_version=34.20210611.3.0 -kernel=https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/${fcos_version}/x86_64/fedora-coreos-${fcos_version}-live-kernel-x86_64 -initrd=https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/${fcos_version}/x86_64/fedora-coreos-${fcos_version}-live-initramfs.x86_64.img -rootfs=https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/${fcos_version}/x86_64/fedora-coreos-${fcos_version}-live-rootfs.x86_64.img -kernel_args="console=ttyS0 coreos.live.rootfs_url=${rootfs} coreos.inst.install_dev=/dev/sda coreos.inst.stream=stable coreos.inst.ignition_url=${ignition_url}" -sudo virt-install --name ${machine_name} --ram 4048 --graphics=none --vcpus 2 --disk size=20 \ - --network bridge=virbr0 \ - --install kernel=${kernel},initrd=${initrd},kernel_args_overwrite=yes,kernel_args="${kernel_args}" -``` +see [Provisioning Fedora CoreOS on libvirt](https://docs.fedoraproject.org/en-US/fedora-coreos/provisioning-libvirt/)