I am using a OS X Guest with gitlab to run our continuous integration, testing, and deployment. I call
Code: Select all
sudo ntpdate
How do you synchronize the time on your guest OS?
Code: Select all
sudo ntpdate
You mean, how do PCs correct for clock drift? They use a network time server. They might also recheck the onboard real time clock (RTC) chip.artoonie wrote:Without guest additions, how do mac guests synchronize time?
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>workaroundAgainstJumpingTime</string>
<key>ProgramArguments</key>
<array>
<string>sudo</string>
<string>ntpdate</string>
<string>-u</string>
<string>de.pool.ntp.org</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/tmp/workaroundAgainstJumpingTime.stderr</string>
<key>StandardOutPath</key>
<string>/tmp/workaroundAgainstJumpingTime.stdout</string>
<key>StartInterval</key>
<integer>30</integer>
</dict>
</plist>
vbox_macos, is your OSX guest a true OSX guest or not? I'm more inclined to bet that it's a Hackintosh, given your previous (now locked) thread.vbox_macos wrote:I have made a cronjob on my macos guest that syncs the time every 30 seconds: