Hi Josh,
I've tested the vcl-install.sh script and it works fine. It changed the
time zone in conf.php.
One thing I would like to suggest is that it would be great if we
automatically set the timezone.
I found that we can get the timezone information from localtime and we
might automatically assign it to the TIMEZONE variable in the
vcl-install.sh.
==================================================================================
For example, in CentOS 7, we can get the local timezone information from
localtime
# ls -l /etc/localtime
lrwxrwxrwx. 1 root root 38 Aug 7 22:48 /etc/localtime ->
../usr/share/zoneinfo/America/New_York
Then, parsing
# ls -l /etc/localtime | awk -F/ '{print $7 "/" $8}'
America/New_York
Set the value in vcl-install.sh
TIMEZONE=`ls -l /etc/localtime | awk -F/ '{print $7 "/" $8}'`
===================================================================================
Thanks,
Young
On Thu, Aug 25, 2016 at 12:44 PM, Josh Thompson (JIRA) <[email protected]>
wrote:
>
> [ https://issues.apache.org/jira/browse/VCL-979?page=com.
> atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Josh Thompson resolved VCL-979.
> -------------------------------
> Resolution: Implemented
>
> > install script - prompt for timezine during installation
> > --------------------------------------------------------
> >
> > Key: VCL-979
> > URL: https://issues.apache.org/jira/browse/VCL-979
> > Project: VCL
> > Issue Type: Improvement
> > Components: web gui (frontend)
> > Reporter: Josh Thompson
> > Priority: Minor
> > Fix For: 2.5
> >
> >
> > It would be helpful for the install script to prompt users to select the
> timezone in which the system will be running. Alternatively, it could
> inspect the running system and match the timezone for VCL to the system's
> timezone.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>