Skip to content

Instantly share code, notes, and snippets.

@vi7
Created August 29, 2021 12:25
Show Gist options
  • Save vi7/58063337d337fed3e3890efbdb77cd07 to your computer and use it in GitHub Desktop.
Save vi7/58063337d337fed3e3890efbdb77cd07 to your computer and use it in GitHub Desktop.
Vagrant machine with the OSX 10.9 suitable for iPhone 3GS jailbreak via p0sixspwn v1.0.8
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "inria-pro-sed/conda-build-osx-10.9-base"
config.vm.box_version = "1.0.0"
#config.vm.network "public_network"
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
config.vm.synced_folder ".", "/vagrant", type: "nfs"
# config.vm.synced_folder "../data", "/vagrant_data"
config.vm.network "private_network", ip: "192.168.200.30"
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
config.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
vb.gui = true
vb.memory = "4096"
vb.cpus = 2
vb.customize ["modifyvm", :id, "--vram", "128"]
# If the Guest Additions are installed, this setting enables or disables hardware 3D acceleration
#vb.customize ["modifyvm", :id, "--accelerate3d", "on"]
# If the Guest Additions are installed, this setting enables or disables 2D video acceleration
#vb.customize ["modifyvm", :id, "--accelerate2dvideo", "on"]
# Use this option to specify which host interface the given virtual network interface will use
#vb.customize ["modifyvm", :id, "--bridgeadapter2", "en0"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment