Skip to content

Instantly share code, notes, and snippets.

@rafiamafia
Last active May 26, 2022 06:43
Show Gist options
  • Save rafiamafia/3b3345cf6ba473fc25bc15688d5edc07 to your computer and use it in GitHub Desktop.
Save rafiamafia/3b3345cf6ba473fc25bc15688d5edc07 to your computer and use it in GitHub Desktop.
# -*- 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|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.define "aspera_vm1" do |aspera_vm1|
aspera_vm1.vm.box = "ubuntu/trusty64"
aspera_vm1.vm.network "private_network", ip: "192.168.0.11"
aspera_vm1.vm.synced_folder '/Users/rafiaqutab/fs/aspera/source', '/mnt/host/transfer_files'
aspera_vm1.vm.provider "virtualbox" do |vb|
vb.name = "aspera-vm1"
vb.gui = false
vb.cpus = 1
vb.memory = "2048"
end
end
config.vm.define "aspera_vm2" do |aspera_vm2|
aspera_vm2.vm.box = "ubuntu/trusty64"
aspera_vm2.vm.network "private_network", ip: "192.168.0.12"
aspera_vm2.vm.synced_folder '/Users/rafiaqutab/fs/aspera/dest', '/mnt/host/transfer_files'
aspera_vm2.vm.provider "virtualbox" do |vb|
vb.name = "aspera-vm2"
vb.gui = false
vb.cpus = 1
vb.memory = "2048"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment