From 3881511c7263a9825e0ac3f46b96eaff2a234e48 Mon Sep 17 00:00:00 2001 From: OpenStack Proposal Bot Date: Thu, 22 Jun 2017 15:18:56 +0000 Subject: [PATCH] Updated from OpenStack Ansible Tests Change-Id: I80c3479e30a017457406627f4dd5e43e37a13996 --- .gitignore | 1 - Vagrantfile | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5bfee97a..5421f904 100644 --- a/.gitignore +++ b/.gitignore @@ -69,4 +69,3 @@ tests/*.retry # Git clones openstack-ansible-ops - diff --git a/Vagrantfile b/Vagrantfile index 0618ee21..436f4593 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,3 +1,11 @@ +# Verify whether required plugins are installed. +required_plugins = [ "vagrant-disksize" ] +required_plugins.each do |plugin| + if not Vagrant.has_plugin?(plugin) + raise "The vagrant plugin #{plugin} is required. Please run `vagrant plugin install #{plugin}`" + end +end + Vagrant.configure(2) do |config| config.vm.provider "virtualbox" do |v| v.memory = 2048 @@ -12,6 +20,7 @@ Vagrant.configure(2) do |config| SHELL config.vm.define "ubuntu1604" do |xenial| + xenial.disksize.size = "40GB" xenial.vm.box = "ubuntu/xenial64" end