forked from SpinW/github_runners
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile.template
29 lines (29 loc) · 2.32 KB
/
Vagrantfile.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Vagrant.configure("2") do |config|
config.vm.provider "virtualbox" do |vb|
vb.check_guest_additions = false
vb.functional_vboxsf = false
vb.customize ["modifyvm", :id, "--cpus", 2 ]
vb.customize ["modifyvm", :id, "--pae", "on" ]
vb.customize ["modifyvm", :id, "--firmware", "efi"]
vb.customize ["modifyvm", :id, "--rtcuseutc", "on"]
vb.customize ["modifyvm", :id, "--chipset", "ich9"]
vb.customize ["modifyvm", :id, "--memory", 4096 ]
vb.customize ["modifyvm", :id, "--vram", 128 ]
vb.customize ["modifyvm", :id, "--macaddress1", "5CA1AB1E0001" ]
# vb.customize ["modifyvm", :id, "--cpuidset", "00000001 000306a9 04100800 7fbae3ff bfebfbff"]
vb.customize ["setextradata", :id, "VBoxInternal2/EfiGraphicsResolution", "1280x800"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiSystemFamily", "MacBook Pro"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct", "MacBookPro11,2"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiSystemSerial", "NO_DEVICE_SN"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiSystemUuid", "CAFECAFE-CAFE-CAFE-CAFE-DECAFFDECAFF"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiOEMVBoxVer", "string:1"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiOEMVBoxRev", "string:.23.45.6"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiBIOSVersion", "string:MBP7.89"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion", "1.0"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiSystemVendor", "Apple Inc."]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct", "Mac-3CBD00234E554E41"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/efi/0/Config/DmiBoardSerial", "NO_LOGIC_BOARD_SN"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/smc/0/Config/DeviceKey", "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"]
vb.customize ["setextradata", :id, "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC", "0"]
end
end