<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/doc/rtd/topics/datasources, branch current</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=current</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=current'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2022-02-10T21:44:37+00:00</updated>
<entry>
<title>minor improvements to documentation (#1259)</title>
<updated>2022-02-10T21:44:37+00:00</updated>
<author>
<name>Mark Esler</name>
<email>eslerm@umn.edu</email>
</author>
<published>2022-02-10T21:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=cbe840ac7247c9bf79cf63100b7f85ef38758763'/>
<id>urn:sha1:cbe840ac7247c9bf79cf63100b7f85ef38758763</id>
<content type='text'>
* Primarily improved grammar for clarity.
* A few Sphinx/RST syntax fixes.
* Set text width to 79 characters per footer documentation
  where needed.
* Changed "yaml" to "YAML" when used in sentences.</content>
</entry>
<entry>
<title>spell check docs with spellintian (#1223)</title>
<updated>2022-02-02T21:21:00+00:00</updated>
<author>
<name>Brett Holman</name>
<email>bholman.devel@gmail.com</email>
</author>
<published>2022-02-02T21:21:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=7522845dfe8851b7b4f3e9924810b9ccf282bb6e'/>
<id>urn:sha1:7522845dfe8851b7b4f3e9924810b9ccf282bb6e</id>
<content type='text'>
Fix spelling errors

- Add Makefile target that checks for spelling errors
- Add Makefile target that fixes spelling errors
- Add spelling check to travis doc tests
- Fix various spelling errors in the docs </content>
</entry>
<entry>
<title>sources/azure: remove unnecessary hostname bounce (#1143)</title>
<updated>2021-12-10T17:16:16+00:00</updated>
<author>
<name>Chris Patterson</name>
<email>cpatterson@microsoft.com</email>
</author>
<published>2021-12-10T17:16:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=e9634266ea52bf184727fb0782d5dc35f9ed1468'/>
<id>urn:sha1:e9634266ea52bf184727fb0782d5dc35f9ed1468</id>
<content type='text'>
Thanks to [1], the hostname is set prior to network bring-up.

The Azure data source has been bouncing the hostname during
setup(), occurring after the hostname has already been
properly configured.

Note that this doesn't prevent leaking the image's hostname
during Azure's _get_data() when it brings up ephemeral DHCP.
However, as are not guaranteed to have the hostname metadata
available from a truly "local" source, this behavior is to
be expected unless we disable `send host-name` from dhclient
config.

[1]: https://github.com/canonical/cloud-init/commit/133ad2cb327ad17b7b81319fac8f9f14577c04df

Signed-off-by: Chris Patterson &lt;cpatterson@microsoft.com&gt;</content>
</entry>
<entry>
<title>Add LXD datasource (#1040)</title>
<updated>2021-11-01T20:43:05+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2021-11-01T20:43:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=773765346ba543987aa64a1119fa760f0b1cbb6f'/>
<id>urn:sha1:773765346ba543987aa64a1119fa760f0b1cbb6f</id>
<content type='text'>
Add DataSourceLXD which knows how to talk to the dev-lxd socket to
obtain all instance metadata API:
https://linuxcontainers.org/lxd/docs/master/dev-lxd.

This first branch is to deliver feature parity with the existing
NoCloud datasource which is currently used to intialize LXC instances
on first boot.

Introduce a SocketConnectionPool and LXDSocketAdapter to support
performing HTTP GETs on the following routes which are surfaced by the
LXD host to all containers:
http://unix.socket/1.0/meta-data
http://unix.socket/1.0/config/user.user-data
http://unix.socket/1.0/config/user.network-config
http://unix.socket/1.0/config/user.vendor-data
These 4 routes minimally replace the static content provided in the
following nocloud-net seed files:
/var/lib/cloud/nocloud-net/{meta-data,vendor-data,user-data,network-config}

The intent of this commit is to set a foundation for LXD socket
communication that will allow us to build network hot-plug features
by eventually consuming LXD's websocket upgrade route 1.0/events to
react to network, meta-data and user-data config changes over time.

In the event that no custom network-config is provided, default to the
same network-config definition provided by LXD to the NoCloud
network-config seed file.

Supplemental features above NoCloud datasource:
surface all custom instance data config keys via cloud-init query ds
which aids in discoverability of features/tags/labels as well as
conditional #cloud-config jinja templates operations based on custom
config options.
TBD: better cloud-init query support for dot-delimited keys</content>
</entry>
<entry>
<title>Support ETHx_IP6_GATEWAY, SET_HOSTNAME on OpenNebula (#1045)</title>
<updated>2021-10-07T14:01:59+00:00</updated>
<author>
<name>Vlastimil Holer</name>
<email>vholer@opennebula.io</email>
</author>
<published>2021-10-07T14:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=1bbb67ca200e53d98d7f14904b986240a2fca4b5'/>
<id>urn:sha1:1bbb67ca200e53d98d7f14904b986240a2fca4b5</id>
<content type='text'>
OpenNebula 6.1.80 (current dev. version) is introducing new IPv6 gateway
contextualization variable ETHx_IP6_GATEWAY, which mimics existing
variable ETHx_GATEWAY6. The ETHx_GATEWAY6 used until now will
be depracated in future relase (ET spring 2022).

See:
- new variable - https://github.com/OpenNebula/one/commit/e4d2cc11b9f3c6d01b53774b831f48d9d089c1cc
- deprecation tracking issue - https://github.com/OpenNebula/one/issues/5536

Also, added support for SET_HOSTNAME context variable, which is
currently widely used variable to configure guest VM hostname. See
https://docs.opennebula.io/6.0/management_and_operations/references/template.html#context-section</content>
</entry>
<entry>
<title>Remove invalid ssh_import_id from examples (#1031)</title>
<updated>2021-09-24T20:22:57+00:00</updated>
<author>
<name>James Falcon</name>
<email>therealfalcon@gmail.com</email>
</author>
<published>2021-09-24T20:22:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=8cebc449812b4bff4afaa0837b140030c419f98e'/>
<id>urn:sha1:8cebc449812b4bff4afaa0837b140030c419f98e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add retries to DataSourceGCE.py when connecting to GCE (#1005)</title>
<updated>2021-09-21T04:53:05+00:00</updated>
<author>
<name>vteratipally</name>
<email>67723486+vteratipally@users.noreply.github.com</email>
</author>
<published>2021-09-21T04:53:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=e27c30748e88409b1646a552f994edf9ed9d017e'/>
<id>urn:sha1:e27c30748e88409b1646a552f994edf9ed9d017e</id>
<content type='text'>
Add retries to DatasourceGCE when connecting to GCE.
Sometimes when the trying to fetch the metadata, 
cloud-init fails and the fallback datasource NoCloud is used which is
not expected. Add retries to ensure loading of the data source.</content>
</entry>
<entry>
<title>Datasource for VMware (#953)</title>
<updated>2021-08-10T02:24:07+00:00</updated>
<author>
<name>Andrew Kutz</name>
<email>101085+akutz@users.noreply.github.com</email>
</author>
<published>2021-08-10T02:24:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=8b4a9bc7b81e61943af873bad92e2133f8275b0b'/>
<id>urn:sha1:8b4a9bc7b81e61943af873bad92e2133f8275b0b</id>
<content type='text'>
This patch finally introduces the Cloud-Init Datasource for VMware
GuestInfo as a part of cloud-init proper. This datasource has existed
since 2018, and rapidly became the de facto datasource for developers
working with Packer, Terraform, for projects like kube-image-builder,
and the de jure datasource for Photon OS.

The major change to the datasource from its previous incarnation is
the name. Now named DatasourceVMware, this new version of the
datasource will allow multiple transport types in addition to
GuestInfo keys.

This datasource includes several unique features developed to address
real-world situations:

  * Support for reading any key (metadata, userdata, vendordata) both
    from the guestinfo table when running on a VM in vSphere as well as
    from an environment variable when running inside of a container,
    useful for rapid dev/test.

  * Allows booting with DHCP while still providing full participation
    in Cloud-Init instance data and Jinja queries. The netifaces library
    provides the ability to inspect the network after it is online,
    and the runtime network configuration is then merged into the
    existing metadata and persisted to disk.

  * Advertises the local_ipv4 and local_ipv6 addresses via guestinfo
    as well. This is useful as Guest Tools is not always able to
    identify what would be considered the local address.

The primary author and current steward of this datasource spoke at
Cloud-Init Con 2020 where there was interest in contributing this datasource
to the Cloud-Init codebase.

The datasource currently lives in its own GitHub repository at
https://github.com/vmware/cloud-init-vmware-guestinfo. Once the datasource
is merged into Cloud-Init, the old repository will be deprecated.</content>
</entry>
<entry>
<title>VMware: new "allow_raw_data" switch (#939)</title>
<updated>2021-07-08T15:14:33+00:00</updated>
<author>
<name>xiaofengw-vmware</name>
<email>42736879+xiaofengw-vmware@users.noreply.github.com</email>
</author>
<published>2021-07-08T15:14:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=108611aee26e09bec683e6cf1b8e03bec9362de9'/>
<id>urn:sha1:108611aee26e09bec683e6cf1b8e03bec9362de9</id>
<content type='text'>
Add a new switch allow_raw_data to control raw data feature, update
the documentation. Fix bugs about max_wait.</content>
</entry>
<entry>
<title>docs: fix stale links rename master branch to main (#926)</title>
<updated>2021-06-18T02:46:54+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2021-06-18T02:46:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=db23b1b10b97fe19bc1c8af99a08aa5693d37923'/>
<id>urn:sha1:db23b1b10b97fe19bc1c8af99a08aa5693d37923</id>
<content type='text'>
Update doc references to 'main' default branch due to rename.
Also some links have eroded:
-  for doc links directly to a line num link to a
   blob/&lt;commit&gt;/file/path#L10 instead of blob/&lt;branch_name&gt;.
- pytest.param link to a specific version doc as latest has dropped
  the link</content>
</entry>
</feed>
