You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As for the semi-random occurrence of the issue: The value-less key must not be the last line in the configured boot config. The order in which prairiedog writes out these keys is determined by Rust's HashMap.iter() method, which is documented to produce an "arbitrary" order which in my tests mostly, but not always, happened to be one that put splash last.
Clearly there is disagreement about how to represent value-less keys in the boot config, and in case of doubt the kernel's implementation wins. Prairiedog could put an empty pair of quotes after the value-less key. I'll check whether there's other ways to represent such keys, though (IIRC init { splash } would be one).
Until a fix has been merged, one may work around the issue by providing "splash" = [""] in the user data, i.e. an empty string instead of an empty array.
Image I'm using: Build of metal-dev variant fresh off develop
What I expected to happen:
When using the example user data from the boot settings section of the
README.md
, ......I expected those settings to always reflect what the kernel and systemd would see on boot.
What actually happened:
Prairiedog may generate the following boot config...:
...which on next boot is read by the kernel as:
Note that the
log_level
key got pulled in as the value for the actually value-lesssplash
key.How to reproduce the problem:
Put the boot settings fragment from above into your user data. There seems to be a random component to it, and it may take a few (clean) boots to hit.
The text was updated successfully, but these errors were encountered: