Virtualization time synchronization method 2
1. First, set the time of the host to automatic synchronization, and the server address for automatic synchronization is:
Ntp.sjtu.edu.cn 202.120.2.101 (NTP server address of Shanghai Jiaotong University Network Center)
S1a.time.edu.cn Beijing University of posts and Telecommunications
S1b.time.edu.cn Tsinghua University
S1c.time.edu.cn Peking University
S1d.time.edu.cn Southeast University
S1e.time.edu.cn Tsinghua University
S2a.time.edu.cn Tsinghua University
S2b.time.edu.cn Tsinghua University
S2c.time.edu.cn Beijing University of posts and Telecommunications
S2d.time.edu.cn Southwest Regional Network Center
S2e.time.edu.cn Northwest Regional Network Center
S2f.time.edu.cn Northeast Regional Network Center
S2g.time.edu.cn Southeast China Network Center
S2h.time.edu.cn Network Management Center of Sichuan University
S2j.time.edu.cn Network Center of Dalian University of Technology
S2k.time.edu.cn CERNET Guilin Master Node
S2m.time.edu.cn Peking University
Install VmTools to the virtual machine
Set the time synchronization between the virtual machine and the host
In this way, the time of the virtual machine is synchronized with that of the host.