From: Silvio Rhatto Date: Wed, 12 Feb 2014 16:30:45 +0000 (-0200) Subject: Vagrant: shell provisioner to keep the system updated X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=fd05ba9ed70a778bad67737601ff1433c1710294;p=puppet-bootstrap.git Vagrant: shell provisioner to keep the system updated --- 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"