diff options
author | Raghavendra Talur <rtalur@redhat.com> | 2016-01-18 15:06:18 +0530 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-02-11 16:10:38 -0800 |
commit | e29bf0b1f102308f114e04421d80696eebfbf6e3 (patch) | |
tree | 77dbb41b700e4c0a0179af135736971e42e78781 /tests/vagrant/vagrant-template/Vagrantfile | |
parent | 55617ef037695f47ead1c1b753678402e1545f8c (diff) |
vagrant-test: Use pre-baked box for better perf
Using Fedora cloud base leads to lot of downloading
time for packages and also it is larger in disk size
once imported into linux.
Change-Id: I2e878e7cb29a79ade4d6e517075ab523062deb53
BUG: 1291537
Signed-off-by: Raghavendra Talur <rtalur@redhat.com>
Reviewed-on: http://review.gluster.org/13251
Smoke: Gluster Build System <jenkins@build.gluster.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'tests/vagrant/vagrant-template/Vagrantfile')
-rw-r--r-- | tests/vagrant/vagrant-template/Vagrantfile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/tests/vagrant/vagrant-template/Vagrantfile b/tests/vagrant/vagrant-template/Vagrantfile index fda113f98de..ccbbf60575d 100644 --- a/tests/vagrant/vagrant-template/Vagrantfile +++ b/tests/vagrant/vagrant-template/Vagrantfile @@ -3,7 +3,8 @@ Vagrant.configure("2") do |config| config.vm.define "vagrant-testVM" do |testvm| - testvm.vm.box = "fedora/23-cloud-base" + testvm.vm.box = "gluster-dev-fedora" + testvm.vm.box_url = "http://download.gluster.org/pub/gluster/glusterfs/vagrant/gluster-dev-fedora/boxes/gluster-dev-fedora.json" testvm.vm.hostname = "vagrant-testVM" #testvm.ssh.insert_key = false testvm.vm.synced_folder ".", "/vagrant", disabled: true @@ -32,14 +33,6 @@ Vagrant.configure("2") do |config| end # Let's provision - - # Some packages are required for ansible dnf module to work - # so install them using shell inline - testvm.vm.provision "shell", inline: "sudo dnf install -y python-dnf", run: "always" - testvm.vm.provision "shell", inline: "sudo dnf install -y libselinux-python", run: "always" - testvm.vm.provision "shell", inline: "sudo dnf install -y libsemanage-python", run: "always" - - # Now onto the main provisioning testvm.vm.provision "ansible", run: "always" do |setup| setup.verbose = "v" setup.playbook = "setup.yml" |