Make sure to run apt-get update first
This commit is contained in:
		
							parent
							
								
									4e6963baf5
								
							
						
					
					
						commit
						6b73e28d04
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue