summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevananda van der Veen <devananda.vdv@gmail.com>2015-05-15 11:32:21 -0700
committerDevananda van der Veen <devananda.vdv@gmail.com>2015-05-15 11:37:17 -0700
commita33b13a2910d27bf4784f0096cd01c2774e50a38 (patch)
tree3e57c1f507c522d631ee2205520f3a194c22d708
parentef237e0e5f11bfabca760b898756af39f0ffbd31 (diff)
downloadironic-a33b13a2910d27bf4784f0096cd01c2774e50a38.tar.gz
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
-rw-r--r--Vagrantfile2
-rw-r--r--vagrant.yml4
2 files changed, 4 insertions, 2 deletions
diff --git a/Vagrantfile b/Vagrantfile
index d1f7bb76b..57b93f46e 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -9,7 +9,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define 'ironic' do |ironic|
ironic.vm.provider :virtualbox do |vb|
- vb.customize ['modifyvm', :id,'--memory', '2048']
+ vb.customize ['modifyvm', :id, '--memory', '512', '--cpuexecutioncap', '25']
end
ironic.vm.network 'private_network', ip: '192.168.99.11' # It goes to 11.
diff --git a/vagrant.yml b/vagrant.yml
index 0e8c45bc4..8821ace45 100644
--- a/vagrant.yml
+++ b/vagrant.yml
@@ -116,7 +116,9 @@
}
- {
section: 'DEFAULT',
- option: 'enabled_drivers', value: 'fake_ipmitool'
+ option: 'enabled_drivers', value: 'pxe_ssh, agent_ssh, fake'
+ # All other testing drivers require add'l packages
+ # and should be enabled locally, if desired
}
- {
section: 'DEFAULT',