2014-04-11 01:26:19 +00:00
|
|
|
Vagrant.configure("2") do |config|
|
|
|
|
config.vm.box = "mitchellh/boot2docker"
|
|
|
|
|
|
|
|
config.vm.provider "virtualbox" do |v|
|
2014-04-19 00:11:58 +00:00
|
|
|
# On VirtualBox, we don't have guest additions or a functional vboxsf
|
|
|
|
# in TinyCore Linux, so tell Vagrant that so it can be smarter.
|
2014-04-11 01:26:19 +00:00
|
|
|
v.check_guest_additions = false
|
2014-04-19 00:11:58 +00:00
|
|
|
v.functional_vboxsf = false
|
2014-04-11 01:26:19 +00:00
|
|
|
end
|
2014-04-22 03:37:58 +00:00
|
|
|
|
2014-05-08 17:05:59 +00:00
|
|
|
["vmware_fusion", "vmware_workstation"].each do |vmware|
|
|
|
|
config.vm.provider vmware do |v|
|
|
|
|
if v.respond_to?(:functional_hgfs=)
|
|
|
|
v.functional_hgfs = false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2014-04-22 03:37:58 +00:00
|
|
|
# b2d doesn't support NFS
|
|
|
|
config.nfs.functional = false
|
2014-04-11 01:26:19 +00:00
|
|
|
end
|