mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-16 04:42:55 +08:00
Add files via upload
This commit is contained in:
parent
0aa03be31e
commit
0a405856a8
11
proxmox/proxmox-win10-vm-sync-time.sh
Normal file
11
proxmox/proxmox-win10-vm-sync-time.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# arg1 = vmid
|
||||
echo "$(date) - syncing time on Win VM $1"
|
||||
set -x
|
||||
qm guest exec $1 w32tm /resync
|
||||
set +x
|
||||
date
|
||||
|
||||
# REF: https://windowsloop.com/windows-time-sync-command/
|
||||
# REF: https://pve.proxmox.com/pve-docs/qm.1.html
|
Loading…
x
Reference in New Issue
Block a user