charm-sysconfig:stable/20.08

Last commit made on 2020-08-14
Get this branch:
git clone -b stable/20.08 https://git.launchpad.net/charm-sysconfig
Members of Llama (LMA) Charmers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
stable/20.08
Repository:
lp:charm-sysconfig

Recent commits

bf99dbe... by Alvaro Uria

Update licencing and fix charm proof

Reviewed-on: https://code.launchpad.net/~aluria/charm-sysconfig/+git/charm-sysconfig/+merge/389240
Reviewed-by: Xav Paice <email address hidden>

271cf32... by Alvaro Uria

Update licencing and fix charm proof

128b6db... by Alvaro Uria

Standardize Makefile and tox.ini

Reviewed-on: https://code.launchpad.net/~aluria/charm-sysconfig/+git/charm-sysconfig/+merge/388722
Reviewed-by: Xav Paice <email address hidden>
Reviewed-by: Giuseppe Petralia <email address hidden>

00a7650... by Alvaro Uria

Standardize Makefile and tox.ini

1b3e8bb... by Xav Paice

Re-lint using Black standard

Reviewed-on: https://code.launchpad.net/~xavpaice/charm-sysconfig/+git/charm-sysconfig-1/+merge/388354
Reviewed-by: Alvaro Uria <email address hidden>

daa3c31... by Xav Paice

Re-lint using Black standard

ce7ec51... by Arif Ali

Separate cpu-range to 2 separate variables

cpu-range to be deprecated in favour for the new variables
that is isolcpus and cpu-affinitty-range

Closes-Bug: #1859463

Reviewed-on: https://code.launchpad.net/~arif-ali/charm-sysconfig/+git/charm-sysconfig/+merge/386174
Reviewed-by: Xav Paice <email address hidden>
Reviewed-by: Adam Dyess <email address hidden>

630e338... by Arif Ali

Seperate cpu_range to 2 seperate variables

* isolcpus and cpu-affinity-range replaces reservation and cpu_range
* Add unit test for legacy reservation, and update standard test
* Update functional tests

237ca16... by Mauricio Faria de Oliveira

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

Reviewed-on: https://code.launchpad.net/~mfo/charm-sysconfig/+git/charm-sysconfig/+merge/386280
Reviewed-by: Xav Paice <email address hidden>
Reviewed-by: Zachary Zehring <email address hidden>
Reviewed-by: Adam Dyess <email address hidden>

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>