Created
January 3, 2017 05:15
-
-
Save andonovn/f5e9ec4ea82f486444f644eebdcf2926 to your computer and use it in GitHub Desktop.
The Vagrantfile - Box with Ubuntu 16.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "gbarbieru/xenial" | |
config.vm.box_url = "https://atlas.hashicorp.com/gbarbieru/boxes/xenial" | |
config.vm.network "private_network", ip: "192.168.20.20" | |
config.vm.provision :shell, :path => "vagrant-install.sh" | |
config.vm.synced_folder ".", "/vagrant", :mount_options => ["dmode=777", "fmode=666"] | |
# If true, then any SSH connections made will enable agent forwarding. | |
# Default value: false | |
# config.ssh.forward_agent = true | |
# 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 "../data", "/vagrant_data" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment