summaryrefslogtreecommitdiff
path: root/src/migration-scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2026-06-29 15:58:23 +0100
committerGitHub <noreply@github.com>2026-06-29 15:58:23 +0100
commit772ccb06548fb1a65d8623ea545facb0bcabb97c (patch)
tree1b0c279456eeae262fa5815cff7045523bc4c166 /src/migration-scripts
parent4a888ac808c29323d3adb3862d908e7cb2bfc592 (diff)
parent094928ba02bbabf3807ebe8f5ae77b957435d288 (diff)
downloadvyos-1x-772ccb06548fb1a65d8623ea545facb0bcabb97c.tar.gz
vyos-1x-772ccb06548fb1a65d8623ea545facb0bcabb97c.zip
Merge pull request #5298 from vyos/ci/T8490-typos-vyos-1x
ci: T8490: fix typos in comments, strings, and local identifiers
Diffstat (limited to 'src/migration-scripts')
-rw-r--r--src/migration-scripts/l2tp/2-to-34
-rw-r--r--src/migration-scripts/pppoe-server/3-to-44
-rw-r--r--src/migration-scripts/system/13-to-146
3 files changed, 7 insertions, 7 deletions
diff --git a/src/migration-scripts/l2tp/2-to-3 b/src/migration-scripts/l2tp/2-to-3
index 748d9544e..053c2d427 100644
--- a/src/migration-scripts/l2tp/2-to-3
+++ b/src/migration-scripts/l2tp/2-to-3
@@ -69,7 +69,7 @@ def migrate(config: ConfigTree) -> None:
prefix_old = config.return_values(ipv6_base + ['prefix'])
# delete old prefix CLI nodes
config.delete(ipv6_base + ['prefix'])
- # create ned prefix tag node
+ # create new prefix tag node
config.set(ipv6_base + ['prefix'])
config.set_tag(ipv6_base + ['prefix'])
@@ -82,7 +82,7 @@ def migrate(config: ConfigTree) -> None:
prefix_old = config.return_values(ipv6_base + ['delegate-prefix'])
# delete old delegate prefix CLI nodes
config.delete(ipv6_base + ['delegate-prefix'])
- # create ned delegation tag node
+ # create new delegation tag node
config.set(ipv6_base + ['delegate'])
config.set_tag(ipv6_base + ['delegate'])
diff --git a/src/migration-scripts/pppoe-server/3-to-4 b/src/migration-scripts/pppoe-server/3-to-4
index b0eb6f2b9..4954d3d22 100644
--- a/src/migration-scripts/pppoe-server/3-to-4
+++ b/src/migration-scripts/pppoe-server/3-to-4
@@ -98,7 +98,7 @@ def migrate(config: ConfigTree) -> None:
prefix_old = config.return_values(ipv6_base + ['prefix'])
# delete old prefix CLI nodes
config.delete(ipv6_base + ['prefix'])
- # create ned prefix tag node
+ # create new prefix tag node
config.set(ipv6_base + ['prefix'])
config.set_tag(ipv6_base + ['prefix'])
@@ -111,7 +111,7 @@ def migrate(config: ConfigTree) -> None:
prefix_old = config.return_values(ipv6_base + ['delegate-prefix'])
# delete old delegate prefix CLI nodes
config.delete(ipv6_base + ['delegate-prefix'])
- # create ned delegation tag node
+ # create new delegation tag node
config.set(ipv6_base + ['delegate'])
config.set_tag(ipv6_base + ['delegate'])
diff --git a/src/migration-scripts/system/13-to-14 b/src/migration-scripts/system/13-to-14
index 0c2480bdb..3632b4b6a 100644
--- a/src/migration-scripts/system/13-to-14
+++ b/src/migration-scripts/system/13-to-14
@@ -38,10 +38,10 @@ def migrate(config: ConfigTree) -> None:
# retrieve all valid timezones
try:
- tz_datas = cmd('timedatectl list-timezones')
+ tz_data_raw = cmd('timedatectl list-timezones')
except OSError:
- tz_datas = ''
- tz_data = tz_datas.split('\n')
+ tz_data_raw = ''
+ tz_data = tz_data_raw.split('\n')
if re.match(r'[Ll][Oo][Ss].+', tz):
tz = 'America/Los_Angeles'