Skip to content

libvirt: wrong key name for fw_cfg #244

@tormath1

Description

@tormath1

Bug

Hi ! ignition file is not mounted with qemu if we use opt/com.flatcar/config as key name for the firewall configuration. (as suggested in the doc: https://docs.flatcar-linux.org/os/booting-with-libvirt/#running-flatcar-linux-on-libvirt). We need to use opt/com.coreos/config. We need to fix the documentation or the const value. (I don't know what is the best)

Operating System Version

$ uname -r 
5.2.8-arch1-1-ARCH
$ virsh version
Compiled against library: libvirt 5.5.0
Using library: libvirt 5.5.0
Using API: QEMU 5.5.0
Running hypervisor: QEMU 4.0.0

Ignition Version

?

Environment

I am using QEMU hypervisor.

Expected Behavior

System should boot and read ignition provided file.

Actual Behavior

Ignition file is ignored

Reproduction Steps

  1. Follow the doc

Other Information

https://github.com/flatcar-linux/ignition/blob/8e2ef5adcc07692ab0c76c9d45e5fad82cedb7a4/internal/providers/qemu/qemu.go#L31-L33

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions