~d-info-e/cloud-init:fix-apt-doc-typo

Last commit made on 2019-04-17
Get this branch:
git clone -b fix-apt-doc-typo https://git.launchpad.net/~d-info-e/cloud-init
Only do3meli can upload to this branch. If you are do3meli please log in for upload directions.

Branch merges

Branch information

Name:
fix-apt-doc-typo
Repository:
lp:~d-info-e/cloud-init

Recent commits

8bc0579... by do3meli

fix typo in apt documentation

fff37e7... by Ryan Harper

netinfo: Adjust ifconfig output parsing for FreeBSD ipv6 entries

FreeBSD ifconfig output for ipv6 addrs doesn't find scopeid values
when present in the output and the pformat rendering assumes that
an ipv6 address will have a 'scope6' entry in the netdev info
dictionary. This patch finds the scopeid value, which is not
always inside <>, and in some cases v6 addrs don't have a scopeid
value in the output, so when rendering the table, allow scope6 value
to be replaced with the empty value.

LP: #1779672

cf30836... by Ryan Harper

netplan: Don't render yaml aliases when dumping netplan

Cloud-init rendered netplan with duplicate aliases if a network config
included "global" nameserver/search values. Netplan uses can read yaml
files which do use aliaes but cloud-init did not render a single yaml
dictionary, instead it combined yaml sections into a single document
which sometimes resulted in duplicate aliases being present.

This branch introduces a yaml SafeDumper class which can set the
'ignore_aliases' attribute. This is not enabled by default but callers
to util.yaml_dumps can pass a boolean to toggle this. The netplan
render uses noalias=True and the resulting yaml output does not contain
any aliases.

LP: #1815051

e9bf4f2... by do3meli

add PyCharm IDE .idea/ path to .gitignore

3a897fb... by do3meli

correct grammar issue in instance metadata documentation

LP: #1802188

4895535... by Chad Smith

clean: cloud-init clean should not trace when run from within cloud_dir

Avoid traceback when cloud-init clean is run from within
/var/lib/cloud/ deleted dirs.

LP: #1795508

94a6452... by Paride Legovini

Resolve flake8 comparison and pycodestyle over-ident issues

Fixes:
 - flake8: use ==/!= to compare str, bytes, and int literals
 - pycodestyle: E117 over-indented

8ee294d... by Chad Smith

opennebula: also exclude epochseconds from changed environment vars

In addition to EPOCHREALTIME there is also an EPOCHSECONDS environment
variable that OpenNebula needs to exclude as it is expected to change.
This commit supplements the other exclusion in commit
d1a2fe7307e9cf2251d1f9a666c12d71d3f522d6.

Without this fix, unittests will intermittently fail if
parse_shell_config is run across a timing boundary where the
EPOCHSECONDS changes mid-test.

LP: #1813641

09dcecf... by Robert Schweikert

systemd: Render generator from template to account for system differences.

The systemd generator used had a hard coded path for the location target
file to create. This path does not apply to all distributions.
Make the generator and template to have the path set during build time.

3f12012... by Robert Schweikert

sysconfig: On SUSE, use STARTMODE instead of ONBOOT

ONBOOT is not recognized on openSUSE and SUSE Linux Enterprise,
add the STARTMODE setting

LP: #1799540