<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/cloudinit/sources/DataSourceHetzner.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-09T22:16:02+00:00</updated>
<entry>
<title>sources/hetzner: Use EphemeralDHCPv4 instead of static configuration (#1251)</title>
<updated>2022-02-09T22:16:02+00:00</updated>
<author>
<name>Markus Schade</name>
<email>markus.schade@hetzner.com</email>
</author>
<published>2022-02-09T22:16:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=159c12a933f1a394b701f2c15b6267fc717067f7'/>
<id>urn:sha1:159c12a933f1a394b701f2c15b6267fc717067f7</id>
<content type='text'>
When the datasource was originally submitted, EphemeralDHCPv4 was not
yet available. Also avoid race conditions by skipping network
configuration if metadata service can be reached.

Signed-off-by: Markus Schade &lt;markus.schade@hetzner.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>cloudinit: move dmi functions out of util (#622)</title>
<updated>2020-11-02T20:41:11+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2020-11-02T20:41:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=0af1ff1eaf593c325b4f53181a572110eb016c50'/>
<id>urn:sha1:0af1ff1eaf593c325b4f53181a572110eb016c50</id>
<content type='text'>
This just separates the reading of dmi values into its own file.

Some things of note:
 * left import of util in dmi.py only for 'is_container'
   It'd be good if is_container was not in util.
 * just the use of 'util.is_x86' to dmi.py
 * open() is used directly rather than load_file.</content>
</entry>
<entry>
<title>Hetzner: Fix instance_id / SMBIOS serial comparison (#640)</title>
<updated>2020-10-30T18:12:25+00:00</updated>
<author>
<name>Markus Schade</name>
<email>markus.schade@hetzner.com</email>
</author>
<published>2020-10-30T18:12:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=0f8be879073148f1d67094df9ec895a873caa0d7'/>
<id>urn:sha1:0f8be879073148f1d67094df9ec895a873caa0d7</id>
<content type='text'>
Fixes erroneous string/int comparison introduced in 1431c8a

metadata['instance-id'] is an integer but the value read from smbios is
a string.  The comparision would cause TypeError.
</content>
</entry>
<entry>
<title>Hetzner: initialize instance_id from system-serial-number (#630)</title>
<updated>2020-10-29T14:45:47+00:00</updated>
<author>
<name>Markus Schade</name>
<email>markus.schade@hetzner.com</email>
</author>
<published>2020-10-29T14:45:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=1431c8a1bddaabf85e1bbb32bf316a3aef20036e'/>
<id>urn:sha1:1431c8a1bddaabf85e1bbb32bf316a3aef20036e</id>
<content type='text'>
Hetzner Cloud also provides the instance ID in SMBIOS information. Use
it to locally check_instance_id and to compared with instance_id from
metadata service.

LP: #1885527</content>
</entry>
<entry>
<title>cloudinit: remove unused LOG variables (#574)</title>
<updated>2020-09-16T13:53:09+00:00</updated>
<author>
<name>Daniel Watkins</name>
<email>oddbloke@ubuntu.com</email>
</author>
<published>2020-09-16T13:53:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=22220e200a43f9a172e1abac93907b48d60d3ee0'/>
<id>urn:sha1:22220e200a43f9a172e1abac93907b48d60d3ee0</id>
<content type='text'>
Co-authored-by: Rick Harding &lt;rharding@mitechie.com&gt;</content>
</entry>
<entry>
<title>cloudinit: remove global disable of pylint W0105 and fix errors (#480)</title>
<updated>2020-07-13T16:00:32+00:00</updated>
<author>
<name>Daniel Watkins</name>
<email>oddbloke@ubuntu.com</email>
</author>
<published>2020-07-13T16:00:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=3cec3881062490727c5fff1b16b53f0176f976f0'/>
<id>urn:sha1:3cec3881062490727c5fff1b16b53f0176f976f0</id>
<content type='text'>
This includes a fix to a test that had a string concatenation issue, and
so was only testing a prefix of what was intended.</content>
</entry>
<entry>
<title>Hetzner: support reading user-data that is base64 encoded. (#448)</title>
<updated>2020-06-22T18:44:37+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2020-06-22T18:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=76652f3e07b6f659b2fd166a6619cb427dc6bc7e'/>
<id>urn:sha1:76652f3e07b6f659b2fd166a6619cb427dc6bc7e</id>
<content type='text'>
Hetzner cloud only supports user-data as a string (presumably utf-8).

In order to allow users on Hetzner to provide binary data to cloud-init,
we will attempt to base64decode the userdata.

The change here adds a 'maybe_b64decode' function that will decode data
if and only if is base64 encoded.

The reason for not using util.b64d is that we do not want the return value
decoded to a string, and util.b64d will do that if it can.  Additionally
we call decode with validate=True which oddly is not the default.

LP: #1884071</content>
</entry>
<entry>
<title>Add missing dsname for Hetzner Cloud datasource</title>
<updated>2019-07-03T17:04:46+00:00</updated>
<author>
<name>Markus Schade</name>
<email>markus.schade@hetzner.com</email>
</author>
<published>2019-07-03T17:04:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=5e4792cd11a4754384bd70e4dc94413976017ae8'/>
<id>urn:sha1:5e4792cd11a4754384bd70e4dc94413976017ae8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Hetzner: Exit early if dmi system-manufacturer is not Hetzner.</title>
<updated>2018-03-27T18:03:39+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2018-03-27T18:03:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=5e4641a3cd5eac5cbf8ffd13d32514fbb9424077'/>
<id>urn:sha1:5e4641a3cd5eac5cbf8ffd13d32514fbb9424077</id>
<content type='text'>
This takes the same basic check that is in ds-identify.  If the
DMI system manufacturer (aka sys_vendor) is not 'Hetzner', then exit
out of the datasource's get_data quickly.
</content>
</entry>
</feed>
