k3s-io / k3s-ansible

Apache License 2.0
2.01k stars 802 forks source link

Enable skipping bootcmd verification in Raspberry PI #300

Closed jlpedrosa closed 7 months ago

jlpedrosa commented 7 months ago

Changes

Add skip_rpi_cmdline variable to enable skipping the mutation of /boot/firmware/cmdline.txtvin Ubuntu Raspberry.

Linked Issues

dereknola commented 7 months ago

You wording would suggest that this is no longer required for any version of Ubuntu installed on Raspberry Pi. Is this true?

dereknola commented 7 months ago

It seems like we either need it, or don't. If its an issue of newer versions don't require it, we can built that in. Adding an additional config is not a solution I want to pursue.

jlpedrosa commented 7 months ago

Hey @dereknola ! It got lost of the previous PR that closed due to commit signing.

The reason for this is NOT a version change, is that I'm booting the PIs through network boot and there's no /boot/firmware/cmdline.txt in some instalations.

I've never worked with Ansible, not sure what are the options to achive the behaviour that works in both scenarios.