fedora-iot / iot-distro

Issue tracking for the Fedora IoT Edition
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

How to mount an ignition file into the simplified provision image? #42

Open odra opened 2 months ago

odra commented 2 months ago

This issue tracker is intended only for IoT specific issues. Please try to reproduce the issue on a relevant Fedora release to determine if the issue is specific to IoT or a general issue in Fedora. If is a general issue in Fedora, please report it in Red Hat Bugzilla (see How to file a bug) or in an upstream project and not in this issue tracker.

Describe the bug The docs are not clear how to use a custom ignition file with the simplified provision installer.

Can I use a local file or just a remote one over http?

To Reproduce Please describe the steps needed to reproduce the bug:

  1. Download the simplified provision iso
  2. Run it using qemu-system
  3. How to mount an ignition file ...?

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

OS version:

Using Fedora IoT 40, I can't login into it.

Additional context

As the "bug" description says, the docs is not very clear how to mount an ignition file into the image.

miabbott commented 2 months ago

@mmartinv could you tackle this one?

odra commented 1 month ago

Hello, any updates?

mmartinv commented 1 month ago

@odra you need to edit the grub menu at boot time and append the following to the linux ... line:

coreos.inst.append=ignition.config.url=http://host/file.ign

The detailed steps are described in the official documentation