Merge pull request #3934 from xstevecs/master
providers/virtualbox: Disable automatic enablement of hostiocache
This commit is contained in:
commit
0f3e4242df
|
@ -14,17 +14,6 @@ module VagrantPlugins
|
||||||
# helpers.
|
# helpers.
|
||||||
@env = env
|
@env = env
|
||||||
|
|
||||||
# Enable the host IO cache on the sata controller. Note that
|
|
||||||
# if this fails then its not a big deal, so we don't raise any
|
|
||||||
# errors. The Host IO cache vastly improves disk IO performance
|
|
||||||
# for VMs.
|
|
||||||
command = [
|
|
||||||
"storagectl", env[:machine].id,
|
|
||||||
"--name", "SATA Controller",
|
|
||||||
"--hostiocache", "on"
|
|
||||||
]
|
|
||||||
attempt_and_log(command, "Enabling the Host I/O cache on the SATA controller...")
|
|
||||||
|
|
||||||
# Use rtcuseutc so that the VM sees UTC time.
|
# Use rtcuseutc so that the VM sees UTC time.
|
||||||
command = ["modifyvm", env[:machine].id, "--rtcuseutc", "on"]
|
command = ["modifyvm", env[:machine].id, "--rtcuseutc", "on"]
|
||||||
attempt_and_log(command, "Enabling rtcuseutc...")
|
attempt_and_log(command, "Enabling rtcuseutc...")
|
||||||
|
|
Loading…
Reference in New Issue