简体   繁体   English

Azure Ubuntu 15.04虚拟机无法更改日期/时间

[英]Azure Ubuntu 15.04 virtual machine can't change date/time

I'm ruining an Ubuntu 15.04 OS on Azure Virtual Machine. 我正在破坏Azure虚拟机上的Ubuntu 15.04操作系统。 I can't manually change the date of the system by using the "date" command. 我无法使用“ date”命令手动更改系统日期。 Here's a sample run: 这是一个示例运行:

~# date    
Tue Jul  7 00:24:58 HKT 2015

~# date -s "2014-07-04 10:53:59"
Fri Jul  4 10:53:59 HKT 2014

~# date   
Tue Jul  7 00:25:01 HKT 2015

I have uninstalled ntpdate but it doesn't make a difference. 我已经卸载了ntpdate但没有任何区别。 Has anyone experienced this before? 有谁之前经历过这个吗?

Thanks! 谢谢!

一般而言,您无法更改由外部提供商托管的VM的时间,因为提供仿真时钟的成本太高,因此往往会占用主机的时钟时间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM