Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/trusty64"
  config.vm.box_check_update = false

  config.vm.provider "virtualbox" do |vb|
    vb.gui = false
    vb.memory = "2048"
  end

  config.vm.provision "shell", inline: <<-SHELL
    apt-get update
    apt-get install -y debconf-utils
    export DEBIAN_FRONTEND=noninteractive
    echo "proftpd-basic shared/proftpd/inetd_or_standalone select standalone" | debconf-set-selections 
    apt-get install -y git gcc make lftp proftpd
  SHELL

  # Create a private network, which allows host-only access to the machine
  # using a specific IP.
  config.vm.network "private_network", ip: "192.168.21.21"
end
