-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
24 lines (20 loc) · 900 Bytes
/
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
# -*- mode: ruby -*-
VAGRANTFILE_API_VERSION = "2"
hostname_prefix = 'local01-'
domain = 'local'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define "rsnapshot-tools" do |master|
master.vm.box = "debian/contrib-jessie64"
master.vm.box_url = "https://atlas.hashicorp.com/debian/contrib-jessie64"
master.vm.hostname = "local01-rsnapshot-tools.#{domain}"
master.vm.network "private_network", ip: "192.168.33.10"
master.vm.network "forwarded_port", guest: 8000, host: 8000
master.vm.provision :hosts, :sync_hosts => true
master.vm.provision :shell, :path => "vagrant/system-prep-deb.sh"
master.vm.synced_folder ".", "/home/vagrant/rsnapshot-tools", create: true
master.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024", "--cpus", "1", "--ioapic", "on"]
end
end
end
# vi: set ft=ruby :