Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu/devel #1921

Merged
merged 36 commits into from
Dec 16, 2022
Merged

Ubuntu/devel #1921

merged 36 commits into from
Dec 16, 2022

Commits on Nov 22, 2022

  1. Docs: adding relative links

    - index.rst: changed contributing link to :ref:
    - found CONTRIBUTING.rst had rtd.io links still in it
    - added labels to several topic pages to fix that issue
    - changed all of those to :ref: links
    s-makin committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    f1a9e44 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2022

  1. Make 3.12 failures not fail the build (canonical#1873)

    Since 3.12 is the development release, failures of it
    shouldn't fail the overall build.
    TheRealFalcon committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    65eb520 View commit details
    Browse the repository at this point in the history
  2. status: handle ds not defined in status.json (canonical#1876)

    Handles any situation where `status.json` does not yet contain
    datasource information, by gracefully fulfilling a 
    `datasource=None` in `StatusDetails`.
    
    LP: #1997559
    aciba90 committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    4ba809b View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2022

  1. Release 22.4.2 (canonical#1878)

    Bump the version in cloudinit/version.py to 22.4.2 and
    update ChangeLog.
    blackboxsw committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    893df0d View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2022

  1. Add support for static IPv6 addresses for FreeBSD (canonical#1839)

    Currently, FreeBSD ignores IPv6 addresses. This PR adds support for static IPv6 addresses
    einsibjarni committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    871edd5 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. test: fix lxd preseed managed network config (canonical#1881)

    Remove managed key in network config on LXD preseed configs
    as it is not a valid key in LXD > v4.
    aciba90 committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    198303e View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2022

  1. docs: uprate analyze to performance page

    As previously discussed, the Analyze page contains the content we want
    to present under the "Performance" topic and should be uprated.
    
    I have changed the title of the "Analyze" page to "Performance" so
    that it shows correctly in the LHS menu. The anchors are the same,
    and I have not changed the file name so as to avoid having to update
    any links.
    
    I took the opportunity to make some minor tidying edits to the text.
    Hopefully these will add clarity and not change the intended meaning.
    s-makin committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    6795bb8 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

  1. feat: add support aliyun metadata security harden mode (canonical#1865)

    Currently, Alibaba cloud provides a security hardening mode for its
    metadata server, which is alike IMDSv2, and we should support it.
    
    Detailed information be found here:
    https://www.alibabacloud.com/help/en/elastic-compute-service/latest/view-instance-metadata#concept-dwj-y1x-wgb
    ManassehZhou committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    68b9471 View commit details
    Browse the repository at this point in the history
  2. FreeBSD init: use cloudinit_enable as only rcvar (canonical#1875)

    All components of cloudinit need to run, and in a specific order.
    If cloudinit is to be enabled, it should only rely on one variable.
    This change better encodes that, than canonical#161
    
    Sponsored by: FreeBSD Foundation
    igalic committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    7a93f1c View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2022

  1. Append derivatives to is_rhel list in cloud.cfg.tmpl (canonical#1887)

    This commit adds Rocky Linux, AlmaLinux, CloudLinux, EuroLinux, Miracle
    Linux, and Virtuozzo to the is_rhel list. Recent downstream patch from
    Red Hat causes issues with RHEL derivatives with the cloud.cfg template,
    which leads to derivatives having to make small changes to bring back
    expected functionality.
    nazunalika committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    5e6ecc6 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2022

  1. Fix exception in BSD networking code-path (canonical#1894)

    overriding __init__() means we need to call super().__init__()
    
    Sponsored By: FreeBSD Foundation
    igalic committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    b12342e View commit details
    Browse the repository at this point in the history
  2. Add support for setting uid when creating users on FreeBSD (canonical…

    …#1888)
    
    * Add support for setting uid when creating users on FreeBSD
    
    * Test if uid in config is used when creating user in FreeBSD
    
    * Merge two branches in if statement.
    
    Unit test uid in pw call for create user on freebsd.
    einsibjarni committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    aecdcbf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c273d0e View commit details
    Browse the repository at this point in the history
  4. doc: add qemu tutorial (canonical#1863)

    Guide the user through setting up a virtual machine.
    Introduce commonly used terminology and architecture.
    Include a debugging page and example script to guide
    the audience through pitfalls.
    holmanb committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    9446bdb View commit details
    Browse the repository at this point in the history
  5. networkd: Add support for multiple [Route] sections (canonical#1868)

    Networkd supports multiple [Route] sections within the same file.
    Currently all [Route] section tags are squashed into one and if there
    is a default gateway it means defining a device route is not possible
    as the target is set to the default gateway.
    
    This patch adds support for multiple [Route] sections allowing us to
    support device routes. This is done by tracking each route in the route
    list individually and ensuring the key-value pairs are maintained within
    their respective [Route] section. This both maintains backwards
    compatibility with previous behavior and allows the specification of
    routes with no destination IP, causing the destination to be added with
    a device target.
    nkukard committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    f75be2e View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2022

  1. Add back gateway4/6 deprecation to docs (canonical#1898)

    It was accidentally removed in f1a9e44.
    TheRealFalcon committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    8ee0d21 View commit details
    Browse the repository at this point in the history
  2. sources/azure: encode health report as utf-8 (canonical#1897)

    If utf-8 characters are used in the report, it will fail to encode:
    
    azure.py[ERROR]: exception while reporting ready: 'latin-1' codec can't
    encode characters in position 392-397:
    Body ('乱写一些单词') is not valid Latin-1.
    Use body.encode('utf-8') if you want to send it encoded in UTF-8.
    
    Explicitly encode document as utf-8.
    
    Signed-off-by: Chris Patterson cpatterson@microsoft.com
    cjp256 committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    9329c53 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2022

  1. autoinstall: clarify docs for users

    Add autoinstall pointer to subiquity docs to FAQ.
    
    Remove cc_ubuntu_autoinstall from docs module definitions
    since it doesn't give users actionable information.
    holmanb committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    9bb3ee6 View commit details
    Browse the repository at this point in the history
  2. * net: netplan config root read-only as wifi config can contain creds

    On netplan systems, network v2 is passed directly though and written
    to /etc/netplan/50-cloud-init.yaml without validation. Current
    netplan configuration provides the ability to configure sensitive
    information such as `wifi:access-points:password`.
    
    Limit permissions for /etc/network/50-cloud-init.yaml as read-only
    for root (600). Since configuration or modification or netplan config
    needs to be performed by an admin user this permission restriction
    aligns with netplan tooling.
    
    Set root read-only only always and not just 'if' sensitive material
    exists within custom config because it will add confusion to have
    two expected modes for this file based on external conditions.
    blackboxsw committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    bbf200f View commit details
    Browse the repository at this point in the history
  3. pycloudlib: bump commit dropping azure api smoke test

    Avoid breakage on newer Azure SDK versions
    Bump commit to c9db5bfc
    blackboxsw committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    dc1d27b View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2022

  1. Configuration menu
    Copy the full SHA
    a6fd6ef View commit details
    Browse the repository at this point in the history
  2. Networking Clarification (canonical#1892)

    net: clarify network function name and docstring
    holmanb committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    a177e07 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a71e531 View commit details
    Browse the repository at this point in the history
  4. netplan: define features.NETPLAN_CONFIG_ROOT_READ_ONLY flag

    To make retaining original behavior in stable downstreams easier,
    provide a feature flag NETPLAN_CONFIG_ROOT_READ_ONLY so
    /etc/netplan/50-cloud-init.yaml config can remain unchanged as
    world-readable.
    
    Set this flag False to ensure world-readable 50-cloud-init.yaml.
    
    Add tests.integration_tests.util.get_feature_flag to extract
    feature values from cloudinit.features on test system.
    
    Co-authored-by: James Falcon <james.falcon@canonical.com>
    blackboxsw and TheRealFalcon committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    9e6f7ed View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2022

  1. docs: add copy button to code blocks (canonical#1890)

    Use the sphinx-copybutton extension.
    Separate commands from output for ease of use.
    s-makin committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    30e5f00 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e725f3 View commit details
    Browse the repository at this point in the history
  3. test: mock file deletion in dhcp tests (canonical#1911)

    Currently tests attempt to delete /run/dhclient.pid and
    /run/dhclient.leases from the host. This leads to host-dependent test
    failure. Fix it.
    holmanb committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    f105331 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

  1. add utility function test cases (canonical#1910)

    Add coverage for:
    - atomic_helper.write_file()
    - util.human2bytes()
    xiaoge1001 committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    0bfed1d View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. mounts: document weird prefix in schema (canonical#1913)

    Add test and support for parsing IEC prefix format.
    holmanb committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    5f5c3e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6bdd88a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    99c0750 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3a22320 View commit details
    Browse the repository at this point in the history
  5. nocloud: add support for dmi variable expansion for seedfrom URL

    NoCloud meta-data seedfrom (or kernel commandline seedfrom) URL can
    now provide variable expansion for system-specific DMI values as seen
    in /sys/class/dmi/id on Linux or kenv on FreeBSD platforms.
    
    Variable names of the format __dmi.SOME_VAR__ will be replaced when
    determining the URL from which NoCloud datasource GETs its user-data
    and meta-data.
    
    This allows for a common templated seedfrom URL which can be reused
    for mass deployments, but can allow for unique URLs based on classes
    of DMI system characteristics such as chassis serial, product name,
    UUID etc.
    
    LP: #1994980
    blackboxsw committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    040090a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7cd6874 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    78f631a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c13bf73 View commit details
    Browse the repository at this point in the history