💻 Software
How can I cause a VirtualBox VM (running Ubuntu) to run a command upon resuming its state?
Fresh5 days ago
Mar 15, 20263715 viewsConfidence Score0%
0%
Problem
I am running a few Ubuntu VMs on a MacBook Pro host. Whenever I pause a VM or save its state to disk, the next time I restart it, the system clock goes out of sync. Is there a way for the VM to know it has just been resumed, and run a command? (for example, running as root would do the trick) I tri…
Error Output
ntpdate -u time.nist.gov
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I cause a VirtualBox VM (running Ubuntu) to run a command upon resuming its state?
Low Risk
For this particular use, the Guest Additions is supposed to synchronize the VM's clock automatically. (See "Time synchronization" at http://www.virtualbox.org/manual/ch04.html, or if you want to customize it, http://www.virtualbox.org/manual/ch09.ht…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix