# -*- 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 'swarm' do |vagrant| vagrant.vm.hostname = 'swarm' vagrant.vm.box = "bento/ubuntu-18.04" vagrant.vm.communicator = "ssh" config.ssh.insert_key=false vagrant.vm.network :private_network, ip: '192.168.2.75' vagrant.vm.synced_folder '.', '/home/vagrant/hws' # We have real problems provisioning a machine with only 1GB RAM. vagrant.vm.provider 'virtualbox' do |vb| vb.memory = 4096 end vagrant.vm.provision "shell", path: "swarm.sh" end end