diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-07 16:16:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 16:16:52 +0200 |
commit | 0fcf2cbcfcabdd98bff48f1d92ee4006a73de43c (patch) | |
tree | bffd039cc6931a1846f2f7aa959fffaec1f4cde4 | |
parent | 435af27787160079cc4074c1257ba7191bc60380 (diff) | |
parent | d1edbfd18e71b6ec2c5d705525b4bf9bd93c001b (diff) | |
download | vyos-1x-0fcf2cbcfcabdd98bff48f1d92ee4006a73de43c.tar.gz vyos-1x-0fcf2cbcfcabdd98bff48f1d92ee4006a73de43c.zip |
Merge pull request #2218 from sarthurdev/T5555_sagitta
system: T5555: Fix time-zone migrator changing valid time-zones to UTC
-rwxr-xr-x | src/migration-scripts/system/13-to-14 | 2 |
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 1fa781869..5b781158b 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') |