2016-01-20 23:34:45 +01:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
|
|
|
# All Vagrant configuration is done below. The "2" in Vagrant.configure
|
|
|
|
# configures the configuration version (we support older styles for
|
|
|
|
# backwards compatibility). Please don't change it unless you know what
|
|
|
|
# you're doing.
|
|
|
|
Vagrant.configure(2) do |config|
|
|
|
|
config.vm.define "tftp" do |tftp|
|
|
|
|
tftp.vm.box = "mrlesmithjr/trusty64"
|
|
|
|
tftp.vm.hostname = "tftp"
|
|
|
|
|
|
|
|
tftp.vm.network :private_network, ip: "192.168.202.201"
|
2016-01-21 20:25:36 +01:00
|
|
|
tftp.vm.network "forwarded_port", guest: 69, host: 6969, protocol: "udp"
|
2016-01-20 23:34:45 +01:00
|
|
|
|
|
|
|
tftp.vm.provider "virtualbox" do |vb|
|
|
|
|
vb.memory = "1024"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
config.vm.provision :shell, path: "provision.sh", keep_color: "true"
|
|
|
|
end
|