Setup a device by using Ignition and a Raw disk image

Prerequisites

Edit the boot parameters

As the device boots, edit the kernel args and add the url to your ignition config, for example: ignition.config.url=http://192.168.122.1/fiot.ign

Setup a device by using Ignition and the Simplified Provisioner

Prerequisites

Edit the boot parameters

Once device has been booted from the Simplified Provisioner the boot menu shows the following options:

Install Fedora 40
Test this media & install Fedora 40
Troubleshooting -->
  • Select "Install Fedora 40" and press the "[e]" key to edit the menu entry.

  • Make sure the installation device variable (coreos.inst.install_dev) is correct and append the ignition parameters (e.g.: coreos.inst.append=ignition.config.url=http://192.168.122.1/fiot.ign coreos.inst.append=rd.neednet=1) to the linux line if not present (e.g.:):

    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Install Fedora 40' --class fedora --class gnu-linux --class gnu --class os {
    	linux  images/pxeboot/vmlinuz rd.neednet=1 coreos.inst.crypt_root=1 coreos.inst.isoroot=Fedora-40-IoT-x86_64 coreos.inst.install_dev=/dev/vda coreos.inst.image_file=/run/media/iso/image.raw.xz coreos.inst.insecure quiet coreos.inst.append=ignition.config.url=http://192.168.122.1/fiot.ign coreos.inst.append=rd.neednet=1
    	initrd images/pxeboot/initrd.img
    }
  • Boot the menu entry by pressing "[Ctrl-x]" to boot and install the IoT device

Verifying the installation

Once the installation has finished and the device has rebooted you should be able to login with the user configured within the ignition file:

ssh core@$192.168.122.10