<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/cloudinit/config/cc_vyos_userdata.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>2025-08-16T17:59:45+00:00</updated>
<entry>
<title>T7206: Fix vyos default config path</title>
<updated>2025-08-16T17:59:45+00:00</updated>
<author>
<name>Bartosz Cieślik</name>
<email>bartoszcieslik2@gmail.com</email>
</author>
<published>2025-08-16T17:59:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=211dd7518f4303490ad7642f2bc1a018cda7ec49'/>
<id>urn:sha1:211dd7518f4303490ad7642f2bc1a018cda7ec49</id>
<content type='text'>
</content>
</entry>
<entry>
<title>user-data: T4895: Fixed tag nodes processing</title>
<updated>2022-12-26T15:10:40+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2022-12-26T15:10:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=03a2ab8bbe647dda541c8eb3a4e38df3821f1fd1'/>
<id>urn:sha1:03a2ab8bbe647dda541c8eb3a4e38df3821f1fd1</id>
<content type='text'>
This commit fixes the problem with overwritting tag nodes by neighbors, when
there are more than one tag node on the same level.
</content>
</entry>
<entry>
<title>T2117: Cloud-init updated to 22.1</title>
<updated>2022-03-25T19:42:00+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2022-03-25T18:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=31448cccedd8f841fb3ac7d0f2e3cdefe08a53ba'/>
<id>urn:sha1:31448cccedd8f841fb3ac7d0f2e3cdefe08a53ba</id>
<content type='text'>
Merged with 22.1 tag from the upstream Cloud-init repository.

Our modules were slightly modified for compatibility with the new
version.
</content>
</entry>
<entry>
<title>User-Data: T3735: Fixed "multi" nodes type search</title>
<updated>2021-08-11T10:46:54+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2021-08-11T10:46:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=e79a10207e08cc73a9b2452e396c7556d3ec591f'/>
<id>urn:sha1:e79a10207e08cc73a9b2452e396c7556d3ec591f</id>
<content type='text'>
Several nodes with "multi" type contain extra space character after
the `multi:` mark, which prevents the `cc_vyos_userdata` module to
detect their type properly. This commit changes the regex used for
detecting such nodes to fix the problem.
</content>
</entry>
<entry>
<title>User-Data: T2116: Added module to apply config commands at deployment</title>
<updated>2020-12-25T15:32:44+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2020-11-13T21:20:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=1607eec32641ad93ea211e447336b3366c28de06'/>
<id>urn:sha1:1607eec32641ad93ea211e447336b3366c28de06</id>
<content type='text'>
With the new `cc_vyos_userdata.py` module is possible to set in User-Data (`#cloud-config`) new parameter `vyos_config_commands`. This parameter should be a list of VyOS configuration commands that will be applied during deployment.
The module will run after the Meta-Data module `cc_vyos.py`.

Commands requirements:
 - one command per line
 - if command ending by value, it must be inside single quotes: `set some option 'value'`, `delete some option 'value'`
 - a single-quote symbol is not allowed inside command or value
The commands list produced by the `show configuration commands` command on a VyOS router should comply with all the requirements, so it is easy to get a proper commands list by copying it from another router.

Usage example (User-Data content):
```
#cloud-config
vyos_config_commands:
  - set system host-name 'demo123'
  - set system ntp server 1.pool.ntp.org
  - set system ntp server 2.pool.ntp.org
  - delete interfaces ethernet eth2 address
  - set interfaces ethernet eth2 address '192.0.2.1/24'
```
</content>
</entry>
</feed>
