<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/cloudinit/config/cc_disk_setup.py, branch rolling</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=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2022-02-14T19:24:00+00:00</updated>
<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>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>Adopt Black and isort (SC-700) (#1157)</title>
<updated>2021-12-16T02:16:38+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2021-12-16T02:16:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf'/>
<id>urn:sha1:bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf</id>
<content type='text'>
Applied Black and isort, fixed any linting issues, updated tox.ini
and CI.
</content>
</entry>
<entry>
<title>docs: update cc_disk_setup for fs to raw disk (#1017)</title>
<updated>2021-09-22T21:30:12+00:00</updated>
<author>
<name>James Falcon</name>
<email>therealfalcon@gmail.com</email>
</author>
<published>2021-09-22T21:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=24a15e9cd3acd7c93efe9755b98897ee8c0476c7'/>
<id>urn:sha1:24a15e9cd3acd7c93efe9755b98897ee8c0476c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implementing device_aliases as described in docs (#945)</title>
<updated>2021-08-03T16:08:26+00:00</updated>
<author>
<name>Mal Graty</name>
<email>mal.graty@googlemail.com</email>
</author>
<published>2021-08-03T16:08:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=758acf976f2cb67a85411467fa5fca2ea17a2283'/>
<id>urn:sha1:758acf976f2cb67a85411467fa5fca2ea17a2283</id>
<content type='text'>
Implement missing device_aliases feature

The device_aliases key has been documented as part of disk_setup for
years, however the feature was never implemented. This implements the
feature as documented allowing usercfg (rather than dsconfig) to create
a mapping of device names.

This is not to be confused with disk_aliases, a very similar map but
existing solely for use by datasources.

LP: #1867532</content>
</entry>
<entry>
<title>cc_disk_setup.py: remove UDEVADM_CMD definition as not used (#886)</title>
<updated>2021-05-08T01:54:56+00:00</updated>
<author>
<name>dermotbradley</name>
<email>dermot_bradley@yahoo.com</email>
</author>
<published>2021-05-08T01:54:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=77320bfcdafa4ba63bb59be63d11c4d7414e5f92'/>
<id>urn:sha1:77320bfcdafa4ba63bb59be63d11c4d7414e5f92</id>
<content type='text'>
UDEVADM_CMD is defined but not actually used in cc_disk_setup.py
so remove it.

Also modify the comment at top of read_parttbl function to remove the
reference to udevadm which implies it is used to scan the partition table.</content>
</entry>
<entry>
<title>Use `partprobe` to re-read partition table if available (#856)</title>
<updated>2021-04-22T18:22:54+00:00</updated>
<author>
<name>Nicolas Bock</name>
<email>nicolasbock@gmail.com</email>
</author>
<published>2021-04-22T18:22:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=ced836e69274af905bbc1e5f5fde71de4066c86c'/>
<id>urn:sha1:ced836e69274af905bbc1e5f5fde71de4066c86c</id>
<content type='text'>
The blkdev command is fragile re-reading partition tables if a
partition is mounted. This change instead uses the  partprobe if
it is available.

LP: #1920939</content>
</entry>
<entry>
<title>Fix typo in disk_setup module's description (#579)</title>
<updated>2020-09-21T16:01:35+00:00</updated>
<author>
<name>Wacław Schiller</name>
<email>torinthiel@users.noreply.github.com</email>
</author>
<published>2020-09-21T16:01:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=09a0dfb1759a4f747415c8cd6b66c63cc4374e5d'/>
<id>urn:sha1:09a0dfb1759a4f747415c8cd6b66c63cc4374e5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tox: bump the pylint version to 2.6.0 in the default run (#544)</title>
<updated>2020-08-25T15:21:18+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>paride.legovini@canonical.com</email>
</author>
<published>2020-08-25T15:21:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=07104504ab5b30efd2d1f7a8c36effe18b8e5fe0'/>
<id>urn:sha1:07104504ab5b30efd2d1f7a8c36effe18b8e5fe0</id>
<content type='text'>
Changes:

tox: bump the pylint version to 2.6.0 in the default run
Fix pylint 2.6.0 W0707 warnings (raise-missing-from)</content>
</entry>
<entry>
<title>Move subp into its own module. (#416)</title>
<updated>2020-06-08T16:49:12+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2020-06-08T16:49:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=3c551f6ebc12f7729a2755c89b19b9000e27cc88'/>
<id>urn:sha1:3c551f6ebc12f7729a2755c89b19b9000e27cc88</id>
<content type='text'>
This was painful, but it finishes a TODO from cloudinit/subp.py.

It moves the following from util to subp:
  ProcessExecutionError
  subp
  which
  target_path

I moved subp_blob_in_tempfile into cc_chef, which is its only caller.
That saved us from having to deal with it using write_file
and temp_utils from subp (which does not import any cloudinit things now).

It is arguable that 'target_path' could be moved to a 'path_utils' or
something, but in order to use it from subp and also from utils,
we had to get it out of utils.</content>
</entry>
</feed>
