summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-18cloud-init: fix capitalisation of SSH (#126)Daniel Watkins
* cc_ssh: fix capitalisation of SSH * doc: fix capitalisation of SSH * cc_keys_to_console: fix capitalisation of SSH * ssh_util: fix capitalisation of SSH * DataSourceIBMCloud: fix capitalisation of SSH * DataSourceAzure: fix capitalisation of SSH * cs_utils: fix capitalisation of SSH * distros/__init__: fix capitalisation of SSH * cc_set_passwords: fix capitalisation of SSH * cc_ssh_import_id: fix capitalisation of SSH * cc_users_groups: fix capitalisation of SSH * cc_ssh_authkey_fingerprints: fix capitalisation of SSH
2019-12-18doc: update cc_ssh clarify host and auth keysJoshua Powers
* Add headers for Authorized and Host key sections, move the authorized section up as it is probably more relevant. LP: #1827021
2019-12-18ci: emit names of tests run in Travis (#120)Daniel Watkins
This makes it easier to debug differences in test behaviour between Travis and local developer environments.
2019-12-18Release 19.4Chad Smith
Bump the version in cloudinit/version.py to be 19.4 and update ChangeLog. LP: #1856761
2019-12-18rbxcloud: fix dsname in RbxCloudAdam Dobrawy
LP: #1855196
2019-12-18tests: Add tests for value of dsname in datasourcesAdam Dobrawy
2019-12-18apport: Add RbxCloud dsAdam Dobrawy
2019-12-18docs: Updating index of datasourcesAdam Dobrawy
- Added RbxCloud - Sorted alphabetically
2019-12-18docs: Fix anchor of datasource_rbxAdam Dobrawy
2019-12-18settings: Add RbxCloudAdam Dobrawy
2019-12-17doc: specify _ over - in cloud config modulesJoshua Powers
Start a design decision area in HACKING to capture highlevel decisions. First example is to capture the use of _ over - in cloud config modules. LP: #1293254
2019-12-17tools: Detect python to use via env in migrate-lp-user-to-githubAdam Dobrawy
Reduce incosistency and allow use virtualenv for launchpad packages.
2019-12-17lp-to-git-users: adding ad-mAdam Dobrawy
Mapped from adobrawy
2019-12-17Partially revert "fix unlocking method on FreeBSD" (#116)Daniel Watkins
Specifically, revert the changes to logic which are incorrect. The testing introduced is for a separate part of the codebase, so is retained. This (partially) reverts commit e2840f1771158748780a768f6bfbb117cd7610c6.
2019-12-16tests: mock uid when running as root (#113)Joshua Powers
The query command checks the user's uid when running and takes two different code paths. As a normal user is returns fake data, that these tests were expecting. As a root user, the actual user and vendor data files are ready. LP: #1856096
2019-12-13cloudinit/netinfo: remove unused getgateway (#111)Daniel Watkins
2019-12-13docs: clear up apt config sections (#107)Joshua Powers
More clearly differentiate between the primary apt repo configuration and any 3rd party apt configuration. LP: #1832823
2019-12-13doc: add kernel command line option to user data (#105)Joshua Powers
LP: #1846524
2019-12-13config/cloud.cfg.d: update READMEJoshua Powers
Update README to specify that only files with the '.cfg' extension are read in this folder. LP: #1855006
2019-12-12azure: avoid re-running cloud-init when instance-id is byte-swapped (#84)AOhassan
Azure stores the instance ID with an incorrect byte ordering for the first three hyphen delimited parts. This results in invalid is_new_instance checks forcing Azure datasource to recrawl the metadata service. When persisting instance-id from the metadata service, swap the instance-id string byte order such that it is consistent with that returned by dmi information. Check whether the instance-id string is a byte-swapped match when determining correctly whether the Azure platform instance-id has actually changed.
2019-12-12fix unlocking method on FreeBSDIgor Galić
on FreeBSD, `lock_passwd` is implemented as `pw usermod <user> -h -` This does not lock the account. It prompts for a password change on the console during cloud-init run. To lock an account, we have to execute: `pw lock <name>` LP: #1854594
2019-12-12debian: add reference to the manpagesJoshua Powers
2019-12-11ds_identify: if /sys is not available use dmidecode (#42)Igor Galić
On non-Linux systems, `/sys` won't be available. In these cases, we can query `dmidecode(8)` directly. This PR implements a dmi_decode function to query the same fields ds-identify would otherwise read from /sys. This path is taken when /sys isn't present. In addition to adding dmidecode support, non-Linux systems also need to map in virtualization detection as systemd-detect-virt is not present; on FreeBSD, use sysctl kern.vm_guest and provide a mapping[1] between BSD values and those that match with systemd-detect-virt[2]. 1. https://github.com/freebsd/freebsd/blob/master/sys/kern/subr_param.c#L149-L157 2. https://www.freedesktop.org/software/systemd/man/systemd-detect-virt.html LP: #1852442
2019-12-11docs: add cloud-id manpageJoshua Powers
2019-12-11docs: add cloud-init-per manpageJoshua Powers
2019-12-11docs: add cloud-init manpageJoshua Powers
2019-12-11docs: add additional details to per-instance/onceJoshua Powers
2019-12-11Merge pull request #96 from fred-lefebvre/masterJoshua Powers
Add an Amazon distro in the redhat OS family
2019-12-11Update doc-requirements.txtJoshua Powers
2019-12-11doc-requirements: add missing depJoshua Powers
yaml was missing as we were no longer pointing at the main requirements.txt file
2019-12-11Merge pull request #95 from powersj/docs/bugsJoshua Powers
docs: Add document on how to report bugs
2019-12-09dhcp: Support RedHat dhcp rfc3442 lease format for option 121 (#76)Eric Lafontaine
RedHat dhcp client writes out rfc3442 classless-static-routes in a different format[1] than what is found in isc-dhcp clients. This patch adds support for the RedHat format. 1. Background details on the format https://bugzilla.redhat.com/show_bug.cgi?id=516325 https://github.com/vaijab/fedora-dhcp/blob/e83fb19c51765442d77fa60596bfdb2b3b9fbe2e/dhcp-rfc3442-classless-static-routes.patch#L252 https://github.com/heftig/NetworkManager/blob/f56c82d86122fc45304fc829b5f1e4766ed51589/src/dhcp-manager/nm-dhcp-client.c#L978 LP: #1850642
2019-12-09one moreJoshua Powers
2019-12-09Address OddBloke reviewJoshua Powers
2019-12-06network_state: handle empty v1 config (#45)Ryan Harper
Sending a valid but empty v1 network config resulted in a stacktrace during execution. Update the network_state parse path to specific check if the 'config' key is None (not present) versus being present but explicitly empty. Also add some network_state unittests. LP: #1852496
2019-12-06docs: Add document on how to report bugsJoshua Powers
2019-12-06Add an Amazon distro in the redhat OS familyFrederick Lefebvre
From original work by: Andrew Jorgensen <ajorgens@amazon.com> Reviewed-by: Matt Nierzwicki <nierzwic@amazon.com> Reviewed-by: Ethan Faust <efaust@amazon.com>
2019-12-06Merge pull request #94 from gaughen/patch-1Joshua Powers
removed a couple of "the"s
2019-12-06removed a couple of "the"sgaughen
2019-12-06docs: fix line length and remove highlightingJoshua Powers
doc8 does not know about the ephasize-lines portion of code-block and throws an error. As this is the only place right now I am going to remove it untill we can find a better solution. rstcheck and restructuredtext-lint have issues with sphinx declaritives, so doc8 is still the best to use for now.
2019-12-06docs: Add security.md to readthedocsJoshua Powers
* docs: Add security.md to readthedocs This enables the ability to show the security policy on both GitHub and on the readthedocs site. To do this, enable the ability to import Markdown based files and translate them to rst. * Add doc-requirements.txt and update tox to use Also removes the extra, uncessary extension addition of .md
2019-12-05Multiple file fix for AuthorizedKeysFile config (#60)Eduardo Otubo
Currently cloud-init does not know how to handle multiple file configuration on section AuthorizedKeysFile of ssh configuration. cloud-init will mess up the home user directory by creating bogus folders inside it. This patch provides a fix for this erroneous behavior. It gathers all keys from all the files listed on the section AuthorizedKeysFile of ssh configuration and merge all of them inside home user ~/.ssh/authorized_keys of the vm deployed. Signed-off-by: Eduardo Otubo <otubo@redhat.com>
2019-12-04lp-to-git-users: adding bitfehlerConrad Hoffmann
Mapped from bitfehler
2019-12-04Merge pull request #88 from OddBloke/travisJoshua Powers
Revert "travis: only run CI on pull requests"
2019-12-04Revert "travis: only run CI on pull requests"Daniel Watkins
Until we have a clear issue with CI throughput, let's make sure that we're testing master. This reverts commit 21967a2dedc781e05cf62c80fb730d0ed5973c8b.
2019-12-04doc: update links on README.mdJoshua Powers
2019-12-04lp-to-git-users: adding AOhassanUbuntu
Mapped from ahosmanmsft
2019-12-04doc: Updates to wording of README.mdJoshua Powers
2019-12-04Add security.mdJoshua Powers
2019-12-04setup.py: Amazon Linux sets libexec to /usr/libexec (#52)Frederick Lefebvre
Parse /etc/system-release-cpe to detect Amazon Linux and set the proper value.