ironic/Vagrantfile
Devananda van der Veen a33b13a291 Slight changes to Vagrant developer configs
This makes two changes to the Vagrant defaults for the developer VM:
- Lowers VM memory from 2048 to 512, and pins the VM to 25% of one CPU
  core. This is helpful for low-power development environments (like
  laptops) and is sufficient for RabbitMQ and MySQL.
- Changes the default set of hardware drivers to be a minimal set
  for developer environments that do not require the installation
  of any hardware-specific utilities or libraries.
  This list is: pxe_ssh, agent_ssh, fake

Change-Id: Icb5e0e42a07386b93250f8fa461424b69c7cdee9
2015-05-15 11:37:17 -07:00

26 lines
619 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = '2'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = 'ubuntu/trusty64'
config.vm.define 'ironic' do |ironic|
ironic.vm.provider :virtualbox do |vb|
vb.customize ['modifyvm', :id, '--memory', '512', '--cpuexecutioncap', '25']
end
ironic.vm.network 'private_network', ip: '192.168.99.11' # It goes to 11.
ironic.vm.provision 'ansible' do |ansible|
ansible.verbose = 'v'
ansible.playbook = 'vagrant.yml'
ansible.extra_vars = {
ip: '192.168.99.11'
}
end
end
end