-
Notifications
You must be signed in to change notification settings - Fork 106
/
Copy path_Vagrantfile
19 lines (16 loc) · 1.11 KB
/
_Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Vagrant.configure("2") do |config|
# Set welcome message
# config.vm.post_up_message = "Welcome to Mac OS X Yosemite box. Issue tracker: https://github.com/AndrewDryga/vagrant-box-osx"
# Synced folder are not supported under Mac OS X
config.vm.synced_folder ".", "/vagrant", :disabled => true
config.vm.provider "virtualbox" do |vb|
# Fix "hfs mounted macintosh hd on device root_device" issue
vb.customize ["modifyvm", :id, "--cpuidset", "1","000206a7","02100800","1fbae3bf","bfebfbff"]
# Some more hacks for device recognition
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct", "MacBookPro11,3"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion", "1.0"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct", "Iloveapple"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/smc/0/Config/DeviceKey", "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"]
#vb.customize ["setextradata", :id, "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC", "1"]
end
end