<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/cloudinit/config, 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>2024-07-12T12:49:07+00:00</updated>
<entry>
<title>SSH KEY: T6568: Fixed adding SSH keys with same comments</title>
<updated>2024-07-12T12:49:07+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2024-07-11T12:04:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=c02b1151e584ea6c0bca35ba6aa87504566f6949'/>
<id>urn:sha1:c02b1151e584ea6c0bca35ba6aa87504566f6949</id>
<content type='text'>
If a key with the same comment already exists in a configuration, generate a new
ID for a new one.

Example of such a case:

```
ssh-rsa &lt;base64&gt; my_user_name
ssh-ed25519 &lt;base64&gt; my_user_name
```
</content>
</entry>
<entry>
<title>vyos_install: T5220: Added unattended installer</title>
<updated>2024-06-07T10:27:59+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2024-06-06T11:38:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=77862f882245a62efef6095e2739d6edfb91d674'/>
<id>urn:sha1:77862f882245a62efef6095e2739d6edfb91d674</id>
<content type='text'>
Added an unattended installer, compatible with similar from VyOS 1.3.

Check the `config/cloud.cfg.d/20_vyos_install.cfg` for configuration details.
</content>
</entry>
<entry>
<title>ifupdown: T6038: Cleanup network config properly</title>
<updated>2024-05-16T00:13:51+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2024-05-16T00:12:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=70304ff90d931265cb736ace692967242c9b9729'/>
<id>urn:sha1:70304ff90d931265cb736ace692967242c9b9729</id>
<content type='text'>
Cloud-init in environments where Meta-data is available via network configures
the main interface and keeps the config in `/etc/network/interfaces.d/`.

This config later interferes with the VyOS configuration.

To avoid the problem previously the code in the `cc_vyos.py` module was used,
but this is not enough. The module is running only once during instance
deployment. But Cloud-init will re-add the config file with each boot.

There are two ways to solve this incompatibility (within Cloud-init) - disable
network config or perform cleanup during each boot.

Disabling network config is not correct in this context, because it blocks the
ability to fetch Meta-data after the first boot, which in turn blocks the
ability to run per-boot modules with an updated config.

Therefore, the cleanup code was extracted to an independent
`cc_vyos_ifupdown.py` module that performs proper cleanup with each boot.
</content>
</entry>
<entry>
<title>cc_vyos: T6039: Fixed CLI config for 1.4+</title>
<updated>2024-02-22T17:07:16+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2024-02-22T17:05:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=fd8c12784127e3258762d0163455d595b427ea53'/>
<id>urn:sha1:fd8c12784127e3258762d0163455d595b427ea53</id>
<content type='text'>
Improperly generated configuration can break the configuration process. This fix
updates CLI items from the old to the current syntax.

Fixed CLI config items for:

- NTP servers
- HTTPS API
- domain-search
</content>
</entry>
<entry>
<title>cc_vyos: T6007: Run config migrations before Cloud-init</title>
<updated>2024-02-06T14:18:44+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2024-02-06T14:09:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=412287741b70b536458d84972257eda0b3c18d9f'/>
<id>urn:sha1:412287741b70b536458d84972257eda0b3c18d9f</id>
<content type='text'>
Configuration in `vyos_config_commands` is expected to use a syntax from the
target VyOS version. But, if Cloud-init applies configuration commands to a
default file, all the migrations (from the 0 version to the latest) will still
be executed on top of it.

This process can break proper config, for example, if the current syntax variant
partially repeats one of the older ones, which will trigger a migration without
need.
</content>
</entry>
<entry>
<title>fix to handle OpenStack where mtu exists but is null</title>
<updated>2024-01-01T17:39:15+00:00</updated>
<author>
<name>Daniel Niasoff</name>
<email>4070285+dniasoff@users.noreply.github.com</email>
</author>
<published>2024-01-01T17:27:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=fe106462f0daa6ec9536887cf3732a9d8e056a60'/>
<id>urn:sha1:fe106462f0daa6ec9536887cf3732a9d8e056a60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cc_vyos: T5862: Fixed network configuration</title>
<updated>2023-12-28T12:38:00+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2023-12-27T20:42:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=700988a50231dd2eb73a1207cc38e857c662e116'/>
<id>urn:sha1:700988a50231dd2eb73a1207cc38e857c662e116</id>
<content type='text'>
- added extra check for maximum supported MTU to avoid exceeding it during
configuration
- remove udev rules created by cloud-init after initialization
- fixed logic for config file selection
</content>
</entry>
<entry>
<title>SSH: T5235: Made SSH comment parser stricter</title>
<updated>2023-05-22T15:05:07+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2023-05-22T15:05:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=5d3e4e79746772d80a6289f352e3606382f73eaa'/>
<id>urn:sha1:5d3e4e79746772d80a6289f352e3606382f73eaa</id>
<content type='text'>
To avoid problems with SSH public key comments with special characters the
parser now generates UUID names for keys if a comment contains anything
except `[a-zA-Z0-9_]`.
</content>
</entry>
<entry>
<title>network: T5012: Added a new option for network-config control</title>
<updated>2023-02-16T16:13:19+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2023-02-16T16:13:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=72f61df7e60670f4546128a711e8a521dcd81615'/>
<id>urn:sha1:72f61df7e60670f4546128a711e8a521dcd81615</id>
<content type='text'>
A new option for Cloud-Init was added:

```
vyos_config_options:
  network_config: &lt;disabled/enabled&gt;
```

Possible values:

* by default - equal to the `network['config']` from the active Cloud-Init
configuration
* `enabled` - configure networking, even if global `network['config']` is set
to `disabled`
* `disabled` - do not configure networking, regardless of global
`network['config']` value
</content>
</entry>
<entry>
<title>Merge pull request #59 from zdc/T4954-sagitta</title>
<updated>2023-01-27T15:08:20+00:00</updated>
<author>
<name>zdc</name>
<email>zdc@users.noreply.github.com</email>
</author>
<published>2023-01-27T15:08:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=330c88b626b92533f2812c2f1628777623ac2922'/>
<id>urn:sha1:330c88b626b92533f2812c2f1628777623ac2922</id>
<content type='text'>
network-config: T4954: Fixed DNS settings</content>
</entry>
</feed>
