I’ve been trying to change the timezone in my vagrant box.
I tried the ntpdate command and get the following response
[vagrant@localhost Asia]$ sudo ntpdate 0.pool.ntp.org 8 Mar 15:53:50 ntpdate: step time server 184.108.40.206 offset -54134.661587 sec [vagrant@localhost Asia]$
However after a while, I run date command to check the current date / time and I get this
Thu Mar 9 06:56:55 WIB 2017
Basically in a few seconds the time reverted back to the original. Why is this happening ? Whats the right way to change the date and timezone here ?