Advertisement
Guest User

Untitled

a guest
Aug 10th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.75 KB | None | 0 0
  1. Vagrant.require_version ">= 2.1.0"
  2.  
  3. Vagrant.configure("2") do |config|
  4.   config.env.enable
  5.  
  6.   config.ssh.forward_agent = true
  7.   config.ssh.insert_key = false
  8.  
  9.   config.vm.box = "ubuntu/bionic64"
  10.   config.vm.hostname = "maison-dev"
  11.  
  12.   config.vm.network :private_network,
  13.     ip: ENV['MAISON_LOCAL_IP']
  14.  
  15.   config.vm.synced_folder ".", "/maison",
  16.     type: "nfs",
  17.     nfs_version: 4,
  18.     nfs_udp: false
  19.  
  20.   config.vm.provision "shell",
  21.     path: "./vagrant/provision",
  22.     privileged: false
  23.  
  24.   # Virtual Box-specific configuration.
  25.   config.vm.provider :virtualbox do |vb|
  26.     vb.gui = false
  27.     vb.memory = 2048
  28.     vb.cpus = 2
  29.  
  30.     # Override the base box.
  31.     vb.customize [ "modifyvm", :id, "--uartmode1", "disconnected" ]
  32.   end
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement