Debian Codegraph @

contrib/dist/vagrant/Vagrantfile

raw
1 Vagrant.configure("2") do |config|
2 config.vm.box = "ubuntu/trusty64"
3 config.vm.box_check_update = false
4
5 config.vm.provider "virtualbox" do |vb|
6 vb.gui = false
7 vb.memory = "2048"
8 end
9
10 config.vm.provision "shell", inline: <<-SHELL
11 apt-get update
12 apt-get install -y debconf-utils
13 export DEBIAN_FRONTEND=noninteractive
14 echo "proftpd-basic shared/proftpd/inetd_or_standalone select standalone" | debconf-set-selections
15 apt-get install -y git gcc make lftp proftpd
16 SHELL
17
18 # Create a private network, which allows host-only access to the machine
19 # using a specific IP.
20 config.vm.network "private_network", ip: "192.168.21.21"
21 end