<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/cloudinit/config, branch 22.1</title>
<subtitle> (mirror of https://github.com/vyos/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=22.1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=22.1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2022-02-14T19:25:10+00:00</updated>
<entry>
<title>docs: Add more details to runcmd docs (#1266)</title>
<updated>2022-02-14T19:25:10+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2022-02-14T19:25:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=1d3ddaf93378d1de6be34c7e6430e9b64d42b3f7'/>
<id>urn:sha1:1d3ddaf93378d1de6be34c7e6430e9b64d42b3f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use PEP 589 syntax for TypeDict (#1253)</title>
<updated>2022-02-14T19:24:00+00:00</updated>
<author>
<name>Brett Holman</name>
<email>bholman.devel@gmail.com</email>
</author>
<published>2022-02-14T19:24:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=50195ec8d1052d2b7a80f47a3709ebc4e74d6764'/>
<id>urn:sha1:50195ec8d1052d2b7a80f47a3709ebc4e74d6764</id>
<content type='text'>
Use PEP 589 syntax for TypeDict annotation.

Also fixes previously broken typing MetaSchema typing implementation.</content>
</entry>
<entry>
<title>mounts: fix mount opts string for ephemeral disk (#1250)</title>
<updated>2022-02-10T22:09:03+00:00</updated>
<author>
<name>Chris Patterson</name>
<email>cpatterson@microsoft.com</email>
</author>
<published>2022-02-10T22:09:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=8d96687e558d87fd767bdba9dff71e406f9bcf39'/>
<id>urn:sha1:8d96687e558d87fd767bdba9dff71e406f9bcf39</id>
<content type='text'>
Fixes the spaces introduced in #1213

Signed-off-by: Chris Patterson &lt;cpatterson@microsoft.com&gt;</content>
</entry>
<entry>
<title>cc_salt_minion freebsd fix for rc.conf (#1236)</title>
<updated>2022-02-04T19:26:47+00:00</updated>
<author>
<name>Brett Holman</name>
<email>bholman.devel@gmail.com</email>
</author>
<published>2022-02-04T19:26:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=75a5c8f2dcb28167ef6ce6941a498ae4b8d2d0ac'/>
<id>urn:sha1:75a5c8f2dcb28167ef6ce6941a498ae4b8d2d0ac</id>
<content type='text'>
This fixes a bug that prevents the salt module from enabling the salt minion in rc.conf.

For more details:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254339</content>
</entry>
<entry>
<title>Add _netdev option to mount Azure ephemeral disk (#1213)</title>
<updated>2022-02-04T15:04:31+00:00</updated>
<author>
<name>Eduardo Otubo</name>
<email>otubo@redhat.com</email>
</author>
<published>2022-02-04T15:04:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=a1cfd1b48993ce912986204f5249eb67724636d5'/>
<id>urn:sha1:a1cfd1b48993ce912986204f5249eb67724636d5</id>
<content type='text'>
The ephemeral disk depends on a functional network to be mounted. Even
though it depends on cloud-init.service, sometimes an ordering cycle is
noticed on the instance. If the option "_netdev" is added the problem is
gone.

rhbz: #1998445

Signed-off-by: Eduardo Otubo otubo@redhat.com</content>
</entry>
<entry>
<title>Schema a d (#1211)</title>
<updated>2022-02-01T03:45:29+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2022-02-01T03:45:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=af7eb1deab12c7208853c5d18b55228e0ba29c4d'/>
<id>urn:sha1:af7eb1deab12c7208853c5d18b55228e0ba29c4d</id>
<content type='text'>
Migrate from legacy schema or define new schema in
cloud-init-schema.json, adding extensive schema tests for:
- cc_apt_configure
- cc_bootcmd
- cc_byobu
- cc_ca_certs
- cc_chef
- cc_debug
- cc_disable_ec2_metadata
- cc_disk_setup

Deprecate config hyphenated schema keys in favor of underscores:
  - ca_certs and ca_certs.remove_defaults instead of
    ca-certs and ca-certs.remove-defaults

- Continue to honor deprecated config keys but emit DEPRECATION
  warnings in logs for continued use of the deprecated keys:
  - apt_sources key
  - any apt v1 or v2 keys
  - use or ca-certs or ca_certs.remove-defaults

- Extend apt_configure schema
   - Define more strict schema below object opaque keys using
     patternProperties
  -  create common $def apt_configure.mirror for reuse in 'primary'
     and 'security' schema definitions within cc_apt_configure

 Co-Authored-by: James Falcon &lt;james.falcon@canonical.com&gt;</content>
</entry>
<entry>
<title>update ssh logs to show ssh private key gens pub and simplify code  (#1221)</title>
<updated>2022-01-28T18:24:55+00:00</updated>
<author>
<name>Steve Weber</name>
<email>steverweber@gmail.com</email>
</author>
<published>2022-01-28T18:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=c4e21c7278e839de6bb7fb9c5e34ea5a6114029f'/>
<id>urn:sha1:c4e21c7278e839de6bb7fb9c5e34ea5a6114029f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Include POST format in cc_phone_home docs (#1218)</title>
<updated>2022-01-28T03:29:10+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2022-01-28T03:29:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=17a1cb4a9505f6b58eafde2397b80ffd66da7938'/>
<id>urn:sha1:17a1cb4a9505f6b58eafde2397b80ffd66da7938</id>
<content type='text'>
LP: #1959149</content>
</entry>
<entry>
<title>cc_rsyslog: fix typo in docstring (#1207)</title>
<updated>2022-01-21T19:40:24+00:00</updated>
<author>
<name>Louis Sautier</name>
<email>sautier.louis@gmail.com</email>
</author>
<published>2022-01-21T19:40:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=0d364a29d2fe233fa31bcd6d129b1ca61be60e20'/>
<id>urn:sha1:0d364a29d2fe233fa31bcd6d129b1ca61be60e20</id>
<content type='text'>
Signed-off-by: Louis Sautier &lt;sautier.louis@gmail.com&gt;</content>
</entry>
<entry>
<title>Single JSON schema validation in early boot (#1175)</title>
<updated>2022-01-18T17:05:29+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2022-01-18T17:05:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=4ba6fd283674df1ef25300d91c6d2061910744be'/>
<id>urn:sha1:4ba6fd283674df1ef25300d91c6d2061910744be</id>
<content type='text'>
Package a single JSON schema file for user-data validation at
cloudinit/config/cloud-init-schema.json.

Perform validate_cloudconfig_schema call to just after the
user-data is consumed. This will allow single validation of all
user-data against the full schema instead of
repetitive validatation calls against each cloud-config module
(cloudinit.config.cc_*) sub-schemas.

This branch defines the simple apt_pipelining schema and
migrates existing cc_apk_configure into cloud-init-schema.json.

The expectation will be additional branches to migrate from legacy
"schema" attributes inside each cloud-config module toward unique
cc_&lt;module_name&gt; definitions in the global shema file under "$defs"
of cloud-init-schema-X.Y..json.

Before legacy sub-schema definitions are migrated the following
funcs grew support to read sub-schemas from both static
cloud-init-schema.json and the individual cloud-config module
"schema" attributes:

- get_schema: source base schema file from cloud-init-schema.json
  and supplement with all legacy cloud-config module "schema" defs
- get_meta_doc: optional schema param so cloud-config modules
  no longer provide the own local sub-schemas
- _get_property_doc: render only documentation of sub-schema based
  on meta['id'] provided
- validate_cloudconfig_schema: allow optional schema param


Additionally, fix two minor bugs in _schemapath_for_cloudconfig:
- `cloud-init devel schema --annotate` which results in a Traceback
  if two keys at the same indent level have invalid types.
- exit early on empty cloud-config to avoid a Traceback on the CLI</content>
</entry>
</feed>
