<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/cloudinit/sources/helpers, branch 20.1</title>
<subtitle> (mirror of https://github.com/marekm72/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/marekm72/vyos-cloud-init.git/atom?h=20.1</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/atom?h=20.1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/'/>
<updated>2020-01-21T22:15:30+00:00</updated>
<entry>
<title>Start removing dependency on six (#178)</title>
<updated>2020-01-21T22:15:30+00:00</updated>
<author>
<name>Daniel Watkins</name>
<email>oddbloke@ubuntu.com</email>
</author>
<published>2020-01-21T22:15:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=8c4fd886931abcf2cc8627a47463907d655b35c3'/>
<id>urn:sha1:8c4fd886931abcf2cc8627a47463907d655b35c3</id>
<content type='text'>
* url_helper: drop six

* url_helper: sort imports

* log: drop six

* log: sort imports

* handlers/__init__: drop six

* handlers/__init__: sort imports

* user_data: drop six

* user_data: sort imports

* sources/__init__: drop six

* sources/__init__: sort imports

* DataSourceOVF: drop six

* DataSourceOVF: sort imports

* sources/helpers/openstack: drop six

* sources/helpers/openstack: sort imports

* mergers/m_str: drop six

This also allowed simplification of the logic, as we will never
encounter a non-string text type.

* type_utils: drop six

* mergers/m_dict: drop six

* mergers/m_list: drop six

* cmd/query: drop six

* mergers/__init__: drop six

* net/cmdline: drop six

* reporting/handlers: drop six

* reporting/handlers: sort imports
</content>
</entry>
<entry>
<title>azure: avoid re-running cloud-init when instance-id is byte-swapped (#84)</title>
<updated>2019-12-12T21:51:42+00:00</updated>
<author>
<name>AOhassan</name>
<email>37305877+AOhassan@users.noreply.github.com</email>
</author>
<published>2019-12-12T21:51:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=129b1c4ea250619bd7caed7aaffacc796b0139f2'/>
<id>urn:sha1:129b1c4ea250619bd7caed7aaffacc796b0139f2</id>
<content type='text'>
Azure stores the instance ID with an incorrect byte ordering for the
first three hyphen delimited parts. This results in invalid
is_new_instance checks forcing Azure datasource to recrawl the metadata
service.

When persisting instance-id from the metadata service, swap the
instance-id string byte order such that it is consistent with
that returned by dmi information. Check whether the instance-id
string is a byte-swapped match when determining correctly whether 
the Azure platform instance-id has actually changed. 
</content>
</entry>
<entry>
<title>url_helper: read_file_or_url should pass headers param into readurl (#66)</title>
<updated>2019-12-02T23:24:18+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2019-12-02T23:24:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=f69d33a723b805fec3ee70c3a6127c8cadcb02d8'/>
<id>urn:sha1:f69d33a723b805fec3ee70c3a6127c8cadcb02d8</id>
<content type='text'>
Headers param was accidentally omitted and no longer passed through to
readurl due to a previous commit.

To avoid this omission of params in the future, drop positional param
definitions from read_file_or_url and pass all kwargs through to readurl
when we are not operating on a file.

In util:read_seeded, correct the case where invalid positional param
file_retries was being passed into read_file_or_url.

Also drop duplicated file:// prefix addition from read_seeded because
read_file_or_url does that work anyway.

LP: #1854084</content>
</entry>
<entry>
<title>net: IPv6, accept_ra, slaac, stateless (#51)</title>
<updated>2019-11-20T17:55:26+00:00</updated>
<author>
<name>Harald</name>
<email>hjensas@redhat.com</email>
</author>
<published>2019-11-20T17:55:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=62bbc262c3c7f633eac1d09ec78c055eef05166a'/>
<id>urn:sha1:62bbc262c3c7f633eac1d09ec78c055eef05166a</id>
<content type='text'>
Router advertisements are required for the default route
to be set up, thus accept_ra should be enabled for
dhcpv6-stateful.

sysconf: IPV6_FORCE_ACCEPT_RA controls accept_ra sysctl.
eni: mode static and mode dhcp 'accept_ra' controls sysctl.

Add 'accept-ra: true|false' parameter to config v1 and
v2. When True: accept_ra is set to '1'. When False:
accept_ra is set to '0'. When not defined in config the
value is left to the operating system default.

This change also extend the IPv6 support to distinguish
between slaac and dhcpv6-stateless. SLAAC is autoconfig
without any options from DHCP, while stateless auto-configures
the address and the uses DHCP for other options.

LP: #1806014
LP: #1808647</content>
</entry>
<entry>
<title>guestcust_util: handle special characters in config file</title>
<updated>2019-10-17T15:18:44+00:00</updated>
<author>
<name>Xiaofeng Wang</name>
<email>xiaofengw@vmware.com</email>
</author>
<published>2019-10-17T15:18:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=ecb501b84338f078be18c38c68c3ce87fed3584b'/>
<id>urn:sha1:ecb501b84338f078be18c38c68c3ce87fed3584b</id>
<content type='text'>
Handle the special characters when reading VM Tools configure file.
For example, the key and value may contain _, - and . etc.
</content>
</entry>
<entry>
<title>net: handle openstack dhcpv6-stateless configuration</title>
<updated>2019-10-16T15:30:28+00:00</updated>
<author>
<name>Harald Jensås</name>
<email>hjensas@redhat.com</email>
</author>
<published>2019-10-16T15:30:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=fac98983187c0984aa79c569c4b76cab90fd6f47'/>
<id>urn:sha1:fac98983187c0984aa79c569c4b76cab90fd6f47</id>
<content type='text'>
Openstack subnets can be configured to use SLAAC by setting
ipv6_address_mode=dhcpv6-stateless. When this is the case
the sysconfig interface configuration should use
IPV6_AUTOCONF=yes and not set DHCPV6C=yes.

This change sets the subnets type property to the full
network['type'] from openstack metadata.

cloudinit/net/sysconfig.py and cloudinit/net/eni.py
are updated to support new subnet types:
  - 'ipv6_dhcpv6-stateless' =&gt; IPV6_AUTOCONF=yes
  - 'ipv6_dhcpv6-stateful' =&gt; DHCPV6C=yes

Type 'dhcp6' in sysconfig is kept for backward compatibility
with any implementations that set subnet_type == 'dhcp6'.

LP: #1847517
</content>
</entry>
<entry>
<title>VMWware: add option into VMTools config to enable/disable custom script.</title>
<updated>2019-09-11T18:53:01+00:00</updated>
<author>
<name>Xiaofeng Wang</name>
<email>xiaofengw@vmware.com</email>
</author>
<published>2019-09-11T18:53:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=45426d8d38a7224962867ba71f390cce653e0d17'/>
<id>urn:sha1:45426d8d38a7224962867ba71f390cce653e0d17</id>
<content type='text'>
VMWware customization already has support to run a custom script during
the VM customization. Adding this option allows a VM administrator to
disable the execution of customization scripts.  If set the script
will not execute and the customization status is set to
GUESTCUST_ERROR_SCRIPT_DISABLED.
</content>
</entry>
<entry>
<title>Azure: Record boot timestamps, system information, and diagnostic events</title>
<updated>2019-08-14T21:03:13+00:00</updated>
<author>
<name>Anh Vo</name>
<email>anhvo@microsoft.com</email>
</author>
<published>2019-08-14T21:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=2f3bb764626b9065f4102c7c0a67998a9c174444'/>
<id>urn:sha1:2f3bb764626b9065f4102c7c0a67998a9c174444</id>
<content type='text'>
Collect and record the following information through KVP:
 + timestamps related to kernel initialization and systemd activation
   of cloud-init services
 + system information including cloud-init version, kernel version,
   distro version, and python version
 + diagnostic events for the most common provisioning error issues
   such as empty dhcp lease, corrupted ovf-env.xml, etc.
 + increasing the log frequency of polling IMDS during reprovision.
</content>
</entry>
<entry>
<title>VMWare: Trigger the post customization script via cc_scripts module.</title>
<updated>2019-07-16T13:09:38+00:00</updated>
<author>
<name>Xiaofeng Wang</name>
<email>xiaofengw@vmware.com</email>
</author>
<published>2019-07-16T13:09:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=9c47c682b7aaa185c32a68f4dea8e23e9a2ef565'/>
<id>urn:sha1:9c47c682b7aaa185c32a68f4dea8e23e9a2ef565</id>
<content type='text'>
cloud-init does not trigger reboots of a VM therefore adding custom
scripts to rc.local does not execute the post scripts.  This patch
moves post-scripts into per-instance scripts dir and has cc_scripts
module run the post-scripts.

Also in this branch:
  - Remove the sh interpreter and execute the customization script
    directly.
  - Update the unit test.

LP: #1833192
</content>
</entry>
<entry>
<title>Azure: Return static fallback address as if failed to find endpoint</title>
<updated>2019-05-10T18:38:55+00:00</updated>
<author>
<name>Jason Zions (MSFT)</name>
<email>jasonzio@microsoft.com</email>
</author>
<published>2019-05-10T18:38:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=baa478546d8cac98a706010699d64f8c2f70b5bf'/>
<id>urn:sha1:baa478546d8cac98a706010699d64f8c2f70b5bf</id>
<content type='text'>
The Azure data source helper attempts to use information in the dhcp
lease to find the Wireserver endpoint (IP address). Under some unusual
circumstances, those attempts will fail. This change uses a static
address, known to be always correct in the Azure public and sovereign
clouds, when the helper fails to locate a valid dhcp lease. This
address is not guaranteed to be correct in Azure Stack environments;
it's still best to use the information from the lease whenever possible.
</content>
</entry>
</feed>
