From fd05ba9ed70a778bad67737601ff1433c1710294 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 12 Feb 2014 14:30:45 -0200 Subject: Vagrant: shell provisioner to keep the system updated --- Vagrantfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Vagrantfile') diff --git a/Vagrantfile b/Vagrantfile index a1cad3a..4748efd 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -5,6 +5,9 @@ Vagrant::Config.run do |config| # Every Vagrant virtual environment requires a box to build off of. config.vm.box = "wheezy" + # Shell provisioner to keep the system updated. + config.vm.provision :shell, :inline => "sudo apt-get update && sudo apt-get dist-upgrade -y && sudo apt-get autoremove && sudo apt-get clean" + # Enable provisioning with Puppet stand alone. config.vm.provision :puppet do |puppet| puppet.manifest_file = "vagrant.pp" -- cgit v1.2.3