Skip to content

Instantly share code, notes, and snippets.

@riuvshin
Last active August 29, 2015 14:22
Show Gist options
  • Save riuvshin/30353dad5f1b98383f03 to your computer and use it in GitHub Desktop.
Save riuvshin/30353dad5f1b98383f03 to your computer and use it in GitHub Desktop.
Vagrantfile_onprem_beta
box = 'codenvy_onprem_beta_preinstalled'
url = 'https://install.codenvycorp.com/codenvy_onprem_beta_preinstalled.box'
ram = '3072'
hostname = 'onprem'
domain = 'codenvy.com'
cpus = '2'
bridge = 'eth0'
puts "\033[32mCodenvy is now installed.\033[0m"
puts "\033[32mDNS: onprem.codenvy.com\033[0m"
puts "\033[32mAdmin Dashboard: onprem.codenvy.com/admin\033[0m"
puts "\033[32mAdmin user: admin\033[0m"
puts "\033[32mAdmin pass: password\033[0m"
Vagrant.configure("2") do |config|
config.vm.box = box
config.vm.box_url = url
config.vm.host_name = hostname + '.' + domain
config.vm.network :private_network, ip: "192.168.56.91"
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