~lmd-jazzededtech/cloud-init/+git/cloud-init-1:ubuntu/jammy-22.2-hotfix

Last commit made on 2022-06-10
Get this branch:
git clone -b ubuntu/jammy-22.2-hotfix https://git.launchpad.net/~lmd-jazzededtech/cloud-init/+git/cloud-init-1
Only violethaze74@jazzededtech.com can upload to this branch. If you are violethaze74@jazzededtech.com please log in for upload directions.

Branch merges

Branch information

Name:
ubuntu/jammy-22.2-hotfix
Repository:
lp:~lmd-jazzededtech/cloud-init/+git/cloud-init-1

Recent commits

06629cd... by James Falcon

update changelog (22.2-0ubuntu1~22.04.2)

03855e2... by James Falcon

cherry-pick a2e62738

d9e6e96... by James Falcon

releasing cloud-init version 22.2-0ubuntu1~22.04.1

24c189e... by James Falcon

update changelog (New upstream release 22.2).

93d8d52... by James Falcon

merge from 22.2 at 22.2

f371a8d... by Brett Holman

Release 22.2 (#1462)

Bump the version in cloudinit/version.py to 22.2 and
update ChangeLog.

LP: #1960939

d7fae2b... by Alberto Contreras

Fix test due to caplog incompatibility (#1461)

caplog.text is giving different results on focal. Use caplog.records
instead on failing test.

9624758... by Emanuele Giuseppe Esposito <email address hidden>

Align rhel custom files with upstream (#1431)

So far RHEL had its own custom .service and cloud.cfg files,
that diverged from upstream. We always replaced the generated files
with the ones we had.

This caused only confusion and made it harder to rebase and backport
patches targeting these files.
At the same time, we are going to delete our custom downstream-only files
and use the ones generated by .tmpl.

The mapping is:
config/cloud.cfg.tmpl -> rhel/cloud.cfg
systemd/* -> rhel/systemd/*

Such rhel-specific files are open and available in the Centos repo:
https://gitlab.com/redhat/centos-stream/src/cloud-init

With this commit, we are also introducing modules in cloud.cfg that
were not in the default rhel cfg file, even though they should already
have been there with previous rebases and releases.
Anyways such modules support rhel as distro, and
therefore should cause no harm.

Signed-off-by: Emanuele Giuseppe Esposito <email address hidden>

RHBZ: 2082071

02db659... by Alberto Contreras

cc_write_files: Improve schema. (#1460)

Allow `text/plain` in write_files.encoding.

3e554d1... by Alberto Contreras

cli: Redact files with permission errors in commands (#1440)

For non-root users, emit warnings and redact on any
/etc/cloud/cloud.cfg.d files which raise permissions errors.

Add tests covering this behavior for query, status and render
cmds.

Migrate `test_render.py` and `test_status.py` to Pytest.

LP: #1953430
SC-658