1 | # -*- mode: ruby -*- |
---|
2 | # vi: set ft=ruby : |
---|
3 | |
---|
4 | # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! |
---|
5 | VAGRANTFILE_API_VERSION = "2" |
---|
6 | |
---|
7 | Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| |
---|
8 | |
---|
9 | # Every Vagrant virtual environment requires a box to build off of. |
---|
10 | config.vm.box = "ubuntu/trusty64" |
---|
11 | |
---|
12 | # Create a private network, which allows host-only access to the machine using a specific IP. |
---|
13 | config.vm.network "private_network", ip: "192.168.33.22" |
---|
14 | config.vm.network "forwarded_port", guest: 80, host: 8888 |
---|
15 | |
---|
16 | # Share an additional folder to the guest VM. The first argument is the path on the host to the actual folder. |
---|
17 | # The second argument is the path on the guest to mount the folder. |
---|
18 | #config.vm.synced_folder "./", "/var/www/html" |
---|
19 | |
---|
20 | # Define the bootstrap file: A (shell) script that runs after first setup of your box (= provisioning) |
---|
21 | config.vm.provision :shell, path: "https://genidesktop.netlab.uky.edu/repo/bootstrap.sh" |
---|
22 | |
---|
23 | end |
---|