forked from abenevaut/vagrant-CSGO-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
29 lines (21 loc) · 1.04 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below.
Vagrant.configure(2) do |config|
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "vagrant-debian78-64"
# Box URL
config.vm.box_url = "http://cavaencoreparlerdebits.fr/pub/vagrant/boxes/vagrant-debian78-64/package.box"
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine.
# Accessing "localhost:27915" will access port 27015 on the guest machine.
config.vm.network "forwarded_port", guest: 27015, host: 27915
# 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"
# Provision script
config.vm.provision "shell", path: "shell.sh"
end