summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* changelogubuntu/kineticAlberto Contreras2023-04-171-2/+5
|
* d/cloud-init.preinst: clean up vestigial configAlberto Contreras2023-04-051-0/+9
| | | | | /etc/cloud/cloud.cfg.d/99-disable-network-activation.cfg on GCE instances after fix in upstream google-guest-agent.
* sync Changelog from hotfix branch ubuntu/kinetic-23.1.xAlberto Contreras2023-04-051-0/+5
|
* sync d/changelog from hotfix branch ubuntu/kinetic-23.1.xAlberto Contreras2023-04-051-4/+4
|
* update changelogChad Smith2023-03-201-0/+2
|
* add bdrung as contributorChad Smith2023-03-201-0/+1
|
* Add Apport general hookBenjamin Drung2023-03-202-0/+100
| | | | | | | | | Apport 2.25.0-0ubuntu1 removed the buggy `add_cloud_info` from the ubuntu general hook. Add an Apport general hook that reads `/run/cloud-init/instance-data.json` if present. LP: #1724623 Thanks for the initial version: John Chittum
* update changelogAlberto Contreras2023-03-091-0/+8
|
* d/cloud-init.preinst: Oracle to remove network disabling config fileAlberto Contreras2023-03-091-0/+9
| | | | | | | Oracle to remove vestigial /etc/cloud.cloud.cfg.d/99-disable-network-config.cfg because system config is now honored before datasource config LP: #1956788
* releasing cloud-init version 23.1-0ubuntu0~22.10.123.1-0ubuntu_22.10.1Alberto Contreras2023-02-271-2/+2
|
* update changelog (new upstream snapshot)Alberto Contreras2023-02-241-8/+11
|
* refresh patches against 23.1Alberto Contreras2023-02-241-8/+4
| | | | | patches: debian/patches/retain-netplan-world-readable.patch
* sync d/changelog from hotfix branch ubuntu/kinetic-22.4.xJames Falcon2023-02-241-0/+9
|
* merge from 23.1 at 23.1Alberto Contreras2023-02-24295-11422/+16008
|\
| * Release 23.123.1Alberto Contreras2023-02-222-1/+149
| | | | | | | | | | Bump the version in cloudinit/version.py to 23.1 and update ChangeLog.
| * Support transactional-updates for SUSE based distros (#1997)Robert Schweikert2023-02-213-9/+404
| | | | | | | | | | | | openSUSE/SUSE has distros that use read only root and btrfs. To update a running system in such a setup the transactional-update command needs to be used. This change implements support for use of the transactional-update commend when appropriate.
| * Set ownership for new folders in Write Files Module (#1980)Jack2023-02-216-4/+90
| | | | | | | | | | | | | | The parent directory would be created automatically if it does not exist. But the ownership of newly-created parent directory would always be root. With this change, it would be set the same as `owner`. LP: #1990513
| * add OpenCloudOS and TencentOS support (#1964)wynnfeng2023-02-1815-10/+89
| |
| * lxd: Retry if the server isn't ready (#2025)Brett Holman2023-02-182-2/+57
| |
| * test: switch pycloudlib source to pypi (#2024)Brett Holman2023-02-171-1/+1
| |
| * test: Fix integration test deprecation message (#2023)Brett Holman2023-02-171-9/+18
| |
| * Recognize opensuse-microos, dev tooling fixesRobert Schweikert2023-02-1620-110/+465
| | | | | | | | | | | | | | | | | | | | | | | | Update the distro selection code to recognize opensuse-microos as a SUSE based distribution. Also in this commit: * unittest mock OpenNebula of pwd.getpwnam to avoid test leaks on SuSE * tooling fixes to build and test opensuse - read-dependencies fix jinja2 and PyYAML pkg aliases for opensuse - Consolidate package operations based on OS family instead of distro flavor to cut down on duplication of command definitions. - format read-dependencies and run-container with black
| * sources/azure: refactor imds handler into own module (#1977)Chris Patterson2023-02-165-894/+799
| | | | | | | | | | | | | | | | | | | | Create new azure package for better organization and move IMDS logic for fetching into it. Future work will clean up the test_azure.py tests a little further thanks to these changes, but wanted to minimize churn here to make changes fairly visible. Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
| * docs: deprecation generation support [1/2] (#2013)Brett Holman2023-02-1613-160/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | docs: deprecation version generation support schema: Add the following metadata keys: - changed_version - deprecated_version - new_version - changed_description - new_description - deprecation_description - changed - new Generate formatted docs from this new metadata. Update current descriptions containing unstructured data. Switch current deprecation from a date to deprecated version. Ensure changed/new/deprecated keys have associated version keys.
| * add function is_virtual to distro/FreeBSD (#1957)Mina Galić2023-02-162-1/+80
| | | | | | | | | | | | | | | | | | | | | | | | - is_virtual property identifies identify if the thing we're running is any kind of virtualization - virtual() identifies what kind of virtualisation we're dealing with - is_container() tells us if we're running in a container, or in FreeBSD's case, in a jail. - the helper functions are @lru_cached, since this is very unlikely to change Sponsored by: The FreeBSD Foundation Co-authored-by: Brett Holman <brett.holman@canonical.com>
| * cc_ssh: support multiple hostcertificates (#2018)Alberto Contreras2023-02-165-21/+91
| | | | | | LP: #1999164
| * Fix minor schema validation regression and fixup typing (#2017)James Falcon2023-02-153-7/+15
| | | | | | | | | | When annotating a schema, we should print "Valid cloud-config" along with the filename if a file has been used rather than just the config type.
| * doc: Reword user data debug section (#2019)Brett Holman2023-02-151-6/+21
| |
| * Overhaul/rewrite of certificate handling as follows: (#1962)dermotbradley2023-02-144-225/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change "ca-certs" references to "ca_certs". New certificates are written to individual files, with an incrementing number as part of their filename, rather than all being placed in a single file. This resolves issues caused when certificate files containing more than a single certificate are placed in /etc/ssl/certs (by utilities such as "update-ca-certificates" run by ca_certs). Alpine / Debian / Ubuntu: The current behaviour, whilst it works, is incorrect with regard to the design of the underlying OS utilities for managing certificates. For "remove_defaults" the system-installed certificate files should not be actually deleted (otherwise it becomes problematic if someone wishes to later re-enable one or more of them), rather they should be deactivated and these OSes already provide the means to do so - this MR modifies the certificate entries in the /etc/ca-certificates.conf file by prefixing them with "!" - when the update-ca-certificate utility is then run it will *not* place such delimited certificates into either the /etc/ssl/certs/ directory (via symlinks) nor add them to the (re)generated certificates bundle file. Additionally it is incorrect for added certificates to be placed in the /usr/share/ca-certificates directory - this location is intended for standard/"official" certificates, the /usr/local/share/ca-certificates directory is intended for "local" or "site-specific" certificates and so this PR adds them there instead - for certs in /usr/local/share/ca-certificates the update-ca-certificates utility will automatically use them, there is *no* need to add their filenames to the /etc/ca-certificates.conf file. LP: #1931174
| * disk_setup: use byte string when purging the partition table (#2012)Stefan Prietl2023-02-132-2/+19
| | | | | | | | | | | | | | This writes a byte string to the device instead of a string when purging the partition table. Essentially, this will prevent the error "a bytes-like object is required, not 'str'" from happening.
| * cli: schema also validate vendordata*.Chad Smith2023-02-095-129/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cloud-init schema --annotate now walks any valid user-data, vendor-data and vendor2-data to report whether any of these cloud-config files provide invalid or deprecated schema values. Also, fix a bug in nested mapping annotations to properly report the full nested indexed schema path. The following now can be annotated without KeyErrors: users: - default - lock-passwd: false name: root
| * ci: sort and add checks for cla signers fileStefan Prietl2023-02-094-2/+27
| | | | | | | | | | | | | | This sorts the CLA signers file and adds a convenience script for users to check and sort the file. A workflow job - which uses the script - makes sure that the file does not get merged in an unsorted state.
| * Add "ederst" as contributor (#2010)Stefan Prietl2023-02-091-0/+1
| |
| * readme: add reference to packages dir (#2001)Alberto Contreras2023-02-082-1/+16
| |
| * docs: update downstream package list (#2002)Brett Holman2023-02-081-0/+4
| |
| * docs: add google search verification (#2000)s-makin2023-02-082-0/+3
| | | | | | | | | | | | Added google verification file to ensure that the Google bots can find and index the site. Should speed up the listing of our docs in Google's search results.
| * docs: fix 404 render use default notfound_urls_prefix in RTD conf (#2004)Chad Smith2023-02-081-1/+0
| | | | | | | | | | | | | | 404 styling was off due to invalid config notfound_urls_prefix = "/" Drop custom config. The default "/en/latest" value properly renders the 404 page with style.
| * Fix OpenStack datasource detection on bare metal (#1923)Alexander Birkner2023-02-078-52/+239
| | | | | | LP: #1815990
| * docs: add themed RTD 404 page and pointer to readthedocs-hosted (#1993)Chad Smith2023-02-072-1/+17
| |
| * schema: fix gpt labels, use type string for GUID (#1995)Brett Holman2023-02-062-3/+30
| | | | | | LP #2004599
| * cc_disk_setup: code cleanup (#1996)Brett Holman2023-02-061-45/+17
| |
| * netplan: keep custom strict perms when 50-cloud-init.yaml existsChad Smith2023-02-042-32/+55
| | | | | | | | | | Retain existing config file permissions when those permissions are more strict than the default permissions set on /etc/netplan/50-cloud-init.yaml.
| * cloud-id: better handling of change in datasource filesd1r3ct0r2023-02-023-7/+31
| | | | | | | | | | | | Stop deleting cloud-id-<cloudname> unless there is a change in discovered datasource cloud-id. LP: #1998998
| * tests: Remove restart check from testJames Falcon2023-02-021-4/+0
| | | | | | | | If no SSH restart happens, we get no log. Since this is perfectly normal, we shouldn't be checking for a log.
| * Ignore duplicate macs from mscc_felix and fsl_enetcJames Falcon2023-02-022-0/+36
| | | | | | | | | | | | | | mscc_felix and fsl_enetc are drivers representing a switch that is expected to have duplicate macs. If we encounter either of these drivers, we should not raise the duplicate mac exception. LP: #1997922
| * Warn on empty network key (#1990)Brett Holman2023-02-022-0/+22
| | | | | | | | It is possible to create an empty network key that fails over to fallback network config without warning. Fix it.
| * Fix Vultr cloud_interfaces usage (#1986)eb30952023-02-013-8/+75
| | | | | | cloud_interfaces is intended to be a netcfg. Change the helper function to reflect this.
| * cc_puppet: Update puppet service name (#1970)d1r3ct0r2023-02-013-103/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cc_puppet: Update puppet service name to puppet-agent From Lunar, we see that the default puppet version is 7.20 which replaces `puppet.service` with `puppet-agent.service`. Thus, we need to have a way of calling the appropriate service depending on the distribution of puppet installed. Attempt to install, start or enable puppet-agent first and fallback to puppet. Log warnings if neither preferred package names exist or if the package_name in user-data is not able to be configured. LP: #2002969
| * docs: Clarify networking docs (#1987)Brett Holman2023-01-312-8/+15
| | | | | | | | - Add stronger warnings for resolv_conf module. - Add link to lxd network config docs.
| * lint: remove httpretty (#1985)sxt10012023-01-311-1/+0
| | | | | | | | | | Drop httpretty from list of ignored modules to type-check. This module was dropped in favor of responses.