I'm working on a pre-configuration cloud-init script for Linux OS and need to list all vaild timezone for user to choose
Currently my approach is
cd /usr/share/zoneinfo/
find
However, this is giving some duplicated names in posix and right. And I'm not sure if all the correct names are included.
Is there anyway (python module or program) to enumerate all vaild linux timezone names?
Thanks