I've followed the extremely easy (thanks!) guide to running CoreOS with Qemu here:
But now I'm stuck while trying to pass a configuration to Ignition during boot.
I use ct without any platform flags to transform my YAML file to ignition format:
ct < ignition.yml > config.ign
And then:
./coreos_production_qemu.sh -i config.ign
(Yes - I have validated the configuration with the online validator.)
After the machine has started, I do this to see if it has picked up my configuration:
ssh core@localhost -p2222 journalctl --identifier=ignition --all
Which produces this output:
May 15 14:43:33 localhost ignition[436]: Ignition v0.13.0
May 15 14:43:33 localhost ignition[436]: parsed url from cmdline: ""
May 15 14:43:33 localhost ignition[436]: no config URL provided
May 15 14:43:33 localhost ignition[436]: op(1): [started] loading QEMU firmware config module
May 15 14:43:33 localhost ignition[436]: op(1): executing: "modprobe" "qemu_fw_cfg"
May 15 14:43:33 localhost ignition[436]: op(1): [finished] loading QEMU firmware config module
May 15 14:43:33 localhost ignition[436]: QEMU firmware config was not found. Ignoring...
May 15 14:43:33 localhost ignition[436]: parsing config:
May 15 14:43:33 localhost ignition[436]: failed to fetch config: not a config (empty)
May 15 14:43:33 localhost ignition[436]: not a config (empty): ignoring user-provided config
May 15 14:43:34 localhost ignition[505]: Ignition v0.13.0
May 15 14:43:34 localhost ignition[505]: parsed url from cmdline: ""
May 15 14:43:34 localhost ignition[505]: no config URL provided
May 15 14:43:34 localhost ignition[505]: op(1): [started] loading QEMU firmware config module
May 15 14:43:34 localhost ignition[505]: op(1): executing: "modprobe" "qemu_fw_cfg"
May 15 14:43:34 localhost ignition[505]: op(1): [finished] loading QEMU firmware config module
May 15 14:43:34 localhost ignition[505]: QEMU firmware config was not found. Ignoring...
May 15 14:43:34 localhost ignition[505]: parsing config:
May 15 14:43:34 localhost ignition[505]: failed to fetch config: not a config (empty)
May 15 14:43:34 localhost ignition[505]: not a config (empty): ignoring user-provided config
As far as I can see, the firmware config hasn't been set as it should.
I'm currently running Qemu with this version string:
QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.11), Copyright (c) 2003-2008 Fabrice Bellard
I suspect that I may need to upgrade to version 2.9 (it seems that some things regarding the fw_cfg has changed there), but I'd like to know if it is really necessary or if there is anything else I can do.
I'm running Mint 18 and the system is fully up to date.
Any help would be greatly appreciated!
Regards,
Michael.