rtcuseutc as sane default for VBox [GH-912]

This commit is contained in:
Mitchell Hashimoto 2013-04-07 15:04:38 -07:00
parent efaabea5c0
commit 142cc4bef7
2 changed files with 5 additions and 0 deletions

View File

@ -44,6 +44,7 @@ IMPROVEMENTS:
- Invalid settings are now caught and shown in a user-friendly way. [GH-1484]
- Detect PuTTY Link SSH client on Windows and show an error. [GH-1518]
- `vagrant ssh` in Cygwin won't output DOS path file warnings.
- Add `--rtcuseutc on` as a sane default for VirtualBox. [GH-912]
BUG FIXES:

View File

@ -25,6 +25,10 @@ module VagrantPlugins
]
attempt_and_log(command, "Enabling the Host I/O cache on the SATA controller...")
# Use rtcuseutc so that the VM sees UTC time.
command = ["modifyvm", env[:machine].id, "--rtcuseutc", "on"]
attempt_and_log(command, "Enabling rtcuseutc...")
if env[:machine].provider_config.auto_nat_dns_proxy
@logger.info("Automatically figuring out whether to enable/disable NAT DNS proxy...")