<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/system, branch 1.3.5</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.3.5</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.3.5'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-09-07T12:52:25+00:00</updated>
<entry>
<title>system: T5555: Fix time-zone migrator changing valid time-zones to UTC</title>
<updated>2023-09-07T12:52:25+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2023-09-07T12:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b357b70647c986399719618e607707d861c284d7'/>
<id>urn:sha1:b357b70647c986399719618e607707d861c284d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>name-server: T3804: merge "system name-servers-dhcp" into "system name-server"</title>
<updated>2021-09-05T15:58:37+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-09-05T15:56:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2ecf7a9f9cbe9359457bd23b4a0c45f3763123c7'/>
<id>urn:sha1:2ecf7a9f9cbe9359457bd23b4a0c45f3763123c7</id>
<content type='text'>
We have "set system name-server &lt;ipv4|ipv6&gt;" to specify a name-server IP
address we wan't to use. We also have "set system name-servers-dhcp &lt;interface&gt;"
which does the same, but the name-server in question is retrieved via DHCP.

Both CLI nodes are combined under "set system name-server &lt;ipv4|ipv6|interface&gt;"
to keep things as they are in real life - we need a name-server.
</content>
</entry>
<entry>
<title>system: T2486: bugfix name-servers-dhcp NameError on vif-c interfaces</title>
<updated>2021-02-07T18:55:47+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-02-07T18:24:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f334abf4859bb7433486efd4c293ae4bdc503267'/>
<id>urn:sha1:f334abf4859bb7433486efd4c293ae4bdc503267</id>
<content type='text'>
Commit 0f8beae7426 ("system: T2486: migrate disable-dhcp-nameservers to
name-servers-dhcp") added a migration script for moving the name-servers.

A small glitch was introduced when referencing vif-c interfaces unter a vif-s
interface where a variable got referenced which was not defined.

(cherry picked from commit 89108f629ec8cc6990473468c1c67ffa8742b884)
</content>
</entry>
<entry>
<title>system: T3078: rename "system options" -&gt; "system option"</title>
<updated>2020-11-20T23:36:00+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-11-20T23:34:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=193323ba5d2f0318ceb81b3969c0181ba3125cf2'/>
<id>urn:sha1:193323ba5d2f0318ceb81b3969c0181ba3125cf2</id>
<content type='text'>
By design a CLI node should not be named by its plural but rather describe it
as singular.
</content>
</entry>
<entry>
<title>login: migration: T2929: add missing if condition when probing for radius-server</title>
<updated>2020-09-26T13:37:42+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-09-26T13:35:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1290706dc0dd81565c0566925ed3951f9fd6ddba'/>
<id>urn:sha1:1290706dc0dd81565c0566925ed3951f9fd6ddba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syslog: T2899: shift system migration files +1 to allow for crux</title>
<updated>2020-09-25T17:49:15+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-09-25T16:49:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e76d9a009632629e6a22b0d77eebc913c9268a6d'/>
<id>urn:sha1:e76d9a009632629e6a22b0d77eebc913c9268a6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syslog: T1845: fix indentation level</title>
<updated>2020-09-25T17:49:15+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-09-25T15:58:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4c818baa59046bdc5023abe8b63fa6f62611d115'/>
<id>urn:sha1:4c818baa59046bdc5023abe8b63fa6f62611d115</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #452 from jjakob/T2486-dns-hostsd-fixes</title>
<updated>2020-06-22T06:24:30+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2020-06-22T06:24:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1d09b1a788cc91ff64134d853f063dc0a364ad50'/>
<id>urn:sha1:1d09b1a788cc91ff64134d853f063dc0a364ad50</id>
<content type='text'>
T2486: DNS, vyos-hostsd fixes</content>
</entry>
<entry>
<title>console: T2624: fix migration script for configured powersave and no console</title>
<updated>2020-06-21T09:31:27+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-06-21T09:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a39c0bdd9a7bbceefad71edc14a87a1dd90ffb7a'/>
<id>urn:sha1:a39c0bdd9a7bbceefad71edc14a87a1dd90ffb7a</id>
<content type='text'>
When the 'powersave' option under 'system console' was defined but no actual
serial console device this cause the following error during migration:

Loading configuration from 'config.boot'
Traceback (most recent call last):
  File "/opt/vyatta/etc/config-migrate/migrate/system/16-to-17", line 45, in &lt;module&gt;
    for device in config.list_nodes(base + ['device']):
  File "/usr/lib/python3/dist-packages/vyos/configtree.py", line 236, in list_nodes
    raise ConfigTreeError("Path [{}] doesn't exist".format(path_str))
vyos.configtree.ConfigTreeError: Path [b'system console device'] doesn't exist
</content>
</entry>
<entry>
<title>system: T2486: migrate disable-dhcp-nameservers to name-servers-dhcp</title>
<updated>2020-06-11T20:10:47+00:00</updated>
<author>
<name>Jernej Jakob</name>
<email>jernej.jakob@gmail.com</email>
</author>
<published>2020-06-11T07:09:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=0f8beae7426dfc1fdb75c993a505672d9dd2ec0f'/>
<id>urn:sha1:0f8beae7426dfc1fdb75c993a505672d9dd2ec0f</id>
<content type='text'>
The previous implementation only supported disabling DHCP nameservers for
all interfaces, and was implemented improperly so it didn't work anyway.
This migrates it to name-servers-dhcp &lt;interface&gt;, which allows us to enable
just the interfaces we want to use for system DNS, identical in syntax to
'service dns forwarding dhcp &lt;interface&gt;'.
The migrator searches through all interfaces that have address 'dhcp(v6)?'
and adds them to the name-servers-dhcp list if disable-dhcp-nameservers is
not set, else it does nothing.
</content>
</entry>
</feed>
