From 28caf6d9c9795050029ba899948e0a4cb9b3bb1e Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Tue, 22 Feb 2022 13:31:19 +0100 Subject: [PATCH] :zap: Remove useless provision in Vagrant --- Vagrantfile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 9d5832b..9a75806 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -40,10 +40,6 @@ Vagrant.configure("2") do |config| d.has_ssh = true end - if opts[:name].include? "bullseye" - m.vm.provision "shell", inline: "[ -f '/root/first_provision' ] || (apt-get update -qq && apt-get -y dist-upgrade && touch /root/first_provision)" - end - #m.vm.provision "shell", inline: "apt-get update && apt-get install -y python python-apt" m.vm.provision "ansible" do |ansible| ansible.playbook = "tests/test.yml" @@ -63,10 +59,6 @@ Vagrant.configure("2") do |config| end m.vm.provision "shell", inline: "apt-get update && apt-get install -y ifupdown python" - if opts[:name].include? "bullseye" - m.vm.provision "shell", inline: "[ -f '/root/first_provision' ] || (apt-get update -qq && apt-get -y dist-upgrade && touch /root/first_provision)" - end - m.vm.provision "ansible" do |ansible| ansible.playbook = "tests/test.yml" ansible.verbose = 'vv'