~mfo/charm-sysconfig:fix-grub-cmdline-linux-default

Last commit made on 2020-06-23
Get this branch:
git clone -b fix-grub-cmdline-linux-default https://git.launchpad.net/~mfo/charm-sysconfig
Only Mauricio Faria de Oliveira can upload to this branch. If you are Mauricio Faria de Oliveira please log in for upload directions.

Branch merges

Branch information

Name:
fix-grub-cmdline-linux-default
Repository:
lp:~mfo/charm-sysconfig

Recent commits

0d9a37e... by Mauricio Faria de Oliveira

grub.j2: fix grub-config-flags that use $GRUB_CMDLINE_LINUX_DEFAULT

The suggestion in README.md to 'add or keep kernel parameters you
had previously configured' does not work -- it's actually ignored.

This happens because grub-config-flags is evaluated in grub.j2
after we already set GRUB_CMDLINE_LINUX_DEFAULT, so it is gone.

Using it it grub-config-flags does not keep the previous value.

To fix that, move it to the first thing done in grub.j2, and
change our first assignment of GRUB_CMDLINE_LINUX_DEFAULT to
include it.

And now that our first assignment includes it, make sure it
is cleared up (ignored) if grub-config-flags is not set.

This is to keep the current behavior to ignore/override it.

Signed-off-by: Mauricio Faria de Oliveira <email address hidden>

d1d75fd... by Alvaro Uria

Add focal support on func tests

3436a30... by Adam Dyess

Ported sysctl features to this charm harvested from sysctl charm

Reviewed-on: https://code.launchpad.net/~llama-charmers/charm-sysconfig/+git/charm-sysconfig/+merge/382243
Reviewed-by: Alvaro Uria <email address hidden>
Reviewed-by: Paul Goins <email address hidden>

91b9afe... by Alvaro Uria

Fix linting errors

cd82fd0... by Adam Dyess

address config description formatting

af33d23... by Adam Dyess

Fix config.yaml to describe sysctl exactly as other charms describe

69ebfb5... by Adam Dyess

remove b64 encoded sysctl yaml data

d466bec... by Adam Dyess

functional tests pass

ca159df... by Adam Dyess

updating from review comments

093b538... by Adam Dyess

made sysctrl config option b64 encoded