Make sure to run apt-get update first

This commit is contained in:
Michael Klishin 2016-06-29 13:30:11 +03:00
parent 4e6963baf5
commit 6b73e28d04
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ Vagrant.configure(2) do |config|
# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: "sudo apt-get -y update"
config.vm.provision "file", source: "example", destination: "~"
config.vm.provision "shell", inline: "/bin/sh /home/vagrant/example/setup.sh"
# config.vm.provision "shell", inline: <<-SHELL