Showing posts with the label time

localtimeUpon a successful login into the VM system, changing the Timezone to which the system’s time is configured can be accomplished by changing the /etc/localtimelink. NOTE
Since the implementation of systemd in RHEL7, changing the system’s default
timezone manually is not persistent; as the /etc/localtime link gets recreated
by systemd after a reboot, the user must use timedatectl to make the desired
change persistentTo change the default timezone to the timezone of Chicago, for example, execute the following as the root user:# cd /etc/ # ls -alh localtime /etc/localtime -> ../usr/share/zoneinfo/America/NewYork # unlink /etc/localtime # ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime /etc/localtime -> ../usr/share/zoneinfo/America/Chicago In the above example, we have changed the timezone from the previous value, pointing to the timezone to which “NewYork” belongs, to the timezone of Chicago.The systemd Method for Changing the Default TimezoneSynops…