oracle virtualbox虚拟机时间保持宿主机一致

 

1.查看当前的虚拟机

C:\Users\Administrator>cd C:\Program Files\Oracle\VirtualBox

C:\Program Files\Oracle\VirtualBox>VBoxManage.exe list vms
"12C-rac01-ogg" {0f27be6f-c6c9-41b6-8648-9b8d3e5d89b3}
"12C-rac02" {1d9007e9-56cf-4f4a-b81a-ed61054c71cb}
"11G-ogg" {21aed43c-7c11-4b97-9487-b1c2617a799c}
"11G-RAC01" {650d606c-e1e3-43c0-8195-a4a243467ce0}
"11G-RAC02" {54817b8d-9dd0-4ba2-bed2-1b2d26ed1a54}
"11G-DG" {6b7e341e-c524-45c1-9d30-e927888cdaea}
"19C-RAC01" {b48de58d-04ec-4f7f-9443-372e28a838c7}
"19C-RAC02" {745a6697-bc39-4495-abb1-cff0cf666db7}
"19C-RAC03" {ba1446ed-8b5c-46c2-ad70-ad2ede587882}
"19C-ogg" {bac70a88-20bb-4268-85ec-53b19e89a3c7}
"es01" {d5383a11-23fe-4fb1-9a76-624d925b3a03}
"es02" {601fd3da-2412-4d26-932f-83004580eb04}
"es03" {730842ff-6db2-421e-82fa-1709a6e9c765}
"es04" {cb762ac5-b7a1-472e-9c30-98d74436cf37}
"win2012(oracle@123)" {a5c0c1fd-7a11-42b2-9103-ad81f99c01fb}
"win2019_test" {1e634aa7-dee4-46de-8466-b86893bfa5c9}
"12c" {0affedfc-e970-4854-8bc2-e2d2efa600a1}
"12CR2-TEST-RAC01" {4d5e0a9d-5de7-4b01-addb-bec75bc96cfd}
"12CR2-TEST-RAC02" {ea0cbe91-6302-49e9-bfec-44ed7dfb3568}

 

2.修改虚拟机设置

 

去掉红色框的选项

 


3.启动时间同步
当前虚拟机未开机
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe guestproperty set "4d5e0a9d-5de7-4b01-addb-bec75bc96cfd" --timesync-set-start

 

posted @ 2023-12-28 09:28  slnngk  阅读(262)  评论(0编辑  收藏  举报