Skip to content

Instantly share code, notes, and snippets.

@videoMonkey
Created March 9, 2016 17:51
Show Gist options
  • Save videoMonkey/711aea775ebc86dee0f3 to your computer and use it in GitHub Desktop.
Save videoMonkey/711aea775ebc86dee0f3 to your computer and use it in GitHub Desktop.
my vagrant-www repo customfile
# a few more config options that probably shouldn't be part of the git repo
config.vm.provider :parallels do |vm, override|
# this should save space, but if you ever delete the original
# box you ruin the clone
vm.linked_clone = true
# Autostart server on machine boot
# I don't know if I want this.
# vm.customize ["set", :id, "--autostart", "start-host", "--autostart-delay", "90"]
# parallels tools install
# turn this off for testing, it slows things down
vm.update_guest_tools = false
end
# this adds the shortcuts and coloring from my host terminal to the guest
config.vm.provision "file", source: "~/.bash_profile", destination: "~/.bash_profile"
# Git Config
# adding git stuff that I can edit and make changes in the vm
config.vm.provision "file", source: "~/.gitconfig", destination: "~/.gitconfig"
config.vm.provision "file", source: "~/.gitignore_global", destination: "~/.gitignore_global"
# SSH Agent Forwarding
# Enable agent forwarding on vagrant ssh commands. This allows you to use ssh keys
# on your host machine inside the guest. See the manual for `ssh-add`.
config.ssh.forward_agent = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment