Skip to content

Instantly share code, notes, and snippets.

@riuvshin
Created October 21, 2015 15:11
Show Gist options
  • Save riuvshin/952499155745ef04c51b to your computer and use it in GitHub Desktop.
Save riuvshin/952499155745ef04c51b to your computer and use it in GitHub Desktop.
linux_dev_machine
box = 'linux_dev_machine'
url = 'https://install.codenvycorp.com/linux_dev_machine.box'
ram = '3072'
hostname = 'dev'
domain = 'box.com'
cpus = '2'
bridge = 'eth0'
Vagrant.configure("2") do |config|
config.vm.box = box
config.vm.box_url = url
config.vm.host_name = hostname + '.' + domain
config.ssh.insert_key = false
config.vm.network :private_network, ip: "192.168.56.99"
config.vm.provider :virtualbox do |vbox|
vbox.customize [
'modifyvm', :id,
'--name', hostname,
'--memory', ram,
'--cpus', cpus
]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment