# -*- mode: ruby -*- # vi: set ft=ruby : # This is a set of different vagrant setups that are primarily useful for package # building and testing. The techniques here were borrowed from the Git Fusion # team. Vagrant.configure(2) do |config| # config.vm.define 'gconn' do |vagrant| vagrant.vm.hostname = 'gconn' vagrant.vm.box = 'ubuntu/xenial64' vagrant.disksize.size = '50GB' vagrant.vm.communicator = "ssh" config.ssh.insert_key=true config.ssh.keys_only = true # vagrant.vm.network :public_network vagrant.vm.network :private_network, ip: '192.168.2.72' 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: "gconn.sh" end config.vm.define 'hth' do |config| config.vm.hostname = 'hth' config.vm.box = "bento/ubuntu-16.04" config.vm.communicator = "ssh" config.ssh.keys_only = true config.ssh.insert_key=true # config.vm.network :public_network config.vm.network :private_network, ip: '192.168.2.71' config.vm.synced_folder '.', '/home/vagrant/hws' config.vm.provider 'virtualbox' do |vb| vb.memory = 4096 end config.vm.provision "shell", path: "hth.sh" end end