Appendix C Time Zones with N2WS

Learn how to set the time zone for a server.

The following example is the CPMCONFIG time_zone parameter for Israel:

CPMCONFIG
[SERVER]
user=demo
password=1
volume_option=new
time_zone=Asia/Jerusalem

To obtain the list of time zones or to set the time zone:

  1. SSH into the CPM instance using the logon cpmuser and the instance’s private key.

  2. To obtain a list of all time zones, type: sudo cpm-set-timezone

  3. To set the time zone, type: sudo cpm-set-timezone <new-time-zone>

For example, to set the time zone to 'New York', type:

sudo cpm-set-timezone America/New_York

Last updated