The hardware clock in my virtual machine is the local time reported by my host (the local time is 10:14, but my VM incorrectly reports 6:14 as the local time):
When I use sudo timedatectl set-local-rtc 1
, the local time of the VM does not change. For whatever reason, set-local-rtc
changes the RTC time, rather than reversing/advancing the local time appropriately:
How do I get the local time in my VM to accurately reflect the local time of the host, given that the hypervisor is reporting a HW clock as the local time?
Update:
I tried running sudo timedatectl set-local-rtc 0` for good measure, and that just sets the RTC back to the local time: