Skip to content

Commit

Permalink
Runs --pre-script without the root privilege (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliendufresne authored Jul 11, 2016
1 parent c0f1466 commit 0cede41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Vagrantfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Vagrant.configure(2) do |config|
end

config.vm.provision "pre_script", type: "shell" do |pre_script|
pre_script.privileged = true
pre_script.privileged = false
pre_script.path = "${pre_script}"
end

Expand Down
6 changes: 3 additions & 3 deletions provision/install_ansible.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

if which yum &>/dev/null
then
yum install -y epel-release python-crypto
yum reinstall -y python-crypto
yum install -y ansible
sudo yum install -y epel-release python-crypto
sudo yum reinstall -y python-crypto
sudo yum install -y ansible
fi

0 comments on commit 0cede41

Please sign in to comment.