Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (25 sloc) 1.08 KB
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of. = "ubuntu/trusty64"
config.vm.hostname = "jekyll"
config.vm.define "github-pages" do |base|
# Throw in our provisioning script
config.vm.provision "shell", path: "", privileged: false, args: ENV['REPO']
# Map localhost:4000 to port 4000 inside the VM "forwarded_port", guest: 4000, host: 4000 "private_network", ip: ""
# Create a shared folder between guest and host
config.vm.synced_folder "www/", "/srv/www", create: true
config.ssh.forward_agent = true
# VirtualBox-specific configuration
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--memory", 512]
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]