Vagrantfile 595 B

12345678910111213141516171819202122
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. Vagrant.configure("2") do |config|
  4. config.vm.box = "debian/contrib-jessie64"
  5. config.vm.define "sender" do |cfg|
  6. config.vm.provision "shell", inline: <<-SHELL
  7. apt update
  8. apt install -y iproute python3 python3-flask iperf3
  9. SHELL
  10. cfg.vm.network "private_network", ip: "192.168.210.2"
  11. end
  12. config.vm.define "receiver" do |cfg|
  13. config.vm.provision "shell", inline: <<-SHELL
  14. apt update
  15. apt install -y iperf3
  16. SHELL
  17. cfg.vm.network "private_network", ip: "192.168.210.3"
  18. end
  19. end