coreos / fedora-coreos-docs

Documentation for Fedora CoreOS
https://docs.fedoraproject.org/en-US/fedora-coreos/
Other
51 stars 124 forks source link

document commands for bringing up VMs on s390x/ppc64le #467

Closed dustymabe closed 1 year ago

dustymabe commented 2 years ago

Inspired by https://github.com/coreos/fedora-coreos-tracker/issues/1307

We now have s390x and ppc64le. Let's update some of our examples to handle cases where fw_cfg doesn't work for those platforms.

Need to be updated.

For libvirt the command floating around issue comments looks like:

virt-install ... --disk path=$PWD/config.ign,format=raw,readonly=on,serial=ignition

However we should investigate the source.startupPolicy argument to --disk to see if we can make it not fatal for the VM to boot if the Ignition file is later deleted.

source.startupPolicy
       It defines what to do with the disk if the source file is not accessible.

For QEMU:

-drive file=foobar.ign,if=none,format=raw,readonly=on,id=ignition \
  -device virtio-blk,serial=ignition,drive=ignition
dustymabe commented 2 years ago

@LakshmiRavichandran1 might be able to help us get this updated.

LakshmiRavichandran1 commented 2 years ago

https://github.com/coreos/fedora-coreos-docs/pull/480/ could help here.