This allows to read from inside the VM a blob by reading
/sys/firmware/qemu_fw_cfg/by_name/opt/keyname. The driver is included in recent Linux kernels.
In order to populate the key, one pass the data via the qemu command line:
This would allow to pass an AutoYaST profile directly if running qemu where the profile is located, and for libvirt or the terraform libvirt provider, the volume where the profile is uploaded before passed does not need to be attached to the machine.
The idea is to implement this in Linuxrc by:
- Also check user-defined schemes, like
- Choose a good URL scheme like the ones already available for AutoYaST](https://doc.opensuse.org/projects/autoyast/#Commandline.ay), eg:
- Allow to specify
autoyast=qemu://key, or just look by default in a key like
- Take care of loading the module and including it in linuxrc.
This project is related to "Implement kernel cmdline and/or autoyast/kickstart support in terraform-provider-libvirt ".
This project is part of:
Hack Week 16
Provide modules in Te...
[comment]: # (Please use the project descriptio...
Join the Gitter channel! [https://gitter.im/uy...