summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-07 17:05:52 +0200
committerGitHub <noreply@github.com>2023-09-07 17:05:52 +0200
commit8d11722f1829ec0bff048d7b1911ec6c96d1aa37 (patch)
treef84f29b431e0eb2aa43e9b6990d32049a3c9b240
parent7bc09074457e3d0d60de18c713e0b6d91f4e20a6 (diff)
parentb357b70647c986399719618e607707d861c284d7 (diff)
downloadvyos-1x-8d11722f1829ec0bff048d7b1911ec6c96d1aa37.tar.gz
vyos-1x-8d11722f1829ec0bff048d7b1911ec6c96d1aa37.zip
Merge pull request #2219 from sarthurdev/T5555_equuleus
system: T5555: Fix time-zone migrator changing valid time-zones to UTC
-rwxr-xr-xsrc/migration-scripts/system/13-to-142
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/system/13-to-14 b/src/migration-scripts/system/13-to-14
index 5b068f4fc..59084097b 100755
--- a/src/migration-scripts/system/13-to-14
+++ b/src/migration-scripts/system/13-to-14
@@ -34,7 +34,7 @@ else:
# retrieve all valid timezones
try:
- tz_datas = cmd('find /usr/share/zoneinfo/posix -type f -or -type l | sed -e s:/usr/share/zoneinfo/posix/::')
+ tz_datas = cmd('timedatectl list-timezones')
except OSError:
tz_datas = ''
tz_data = tz_datas.split('\n')