Skip to content
This repository has been archived by the owner on Aug 4, 2018. It is now read-only.

Commit

Permalink
Fix Python installation in Vagrant
Browse files Browse the repository at this point in the history
The Salt bootstrap script tries to update Python but hits this errror:
https://bugs.centos.org/view.php?id=9212.

As a workaround, manually update Python before installing Salt.
  • Loading branch information
aneeshusa committed May 16, 2016
1 parent 8b29304 commit f2f2e08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Vagrant.configure("2") do |config|
config.vm.box = "centos-min"
config.vm.provision "shell", inline: "yum -y update nss\*"

# Fix for https://bugs.centos.org/view.php?id=9212
config.vm.provision "shell", inline: "yum -y update python"

config.vm.synced_folder "provisioning/salt/roots/", "/srv/"

unless ENV['VAGRANT_SKIP_PYPI_DEV'] == '1'
Expand Down

0 comments on commit f2f2e08

Please sign in to comment.