Remove unttended-upgrades from test images

This commit is contained in:
Tunui Franken 2025-03-23 11:40:57 +01:00
parent f9665d8d83
commit efe4263b4a

9
Vagrantfile vendored
View file

@ -3,7 +3,13 @@
Vagrant.configure("2") do |config|
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.provision "shell", inline: "apt-get update"
config.vm.provision "shell" do |shell|
shell.inline = <<-SHELL
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get autoremove -y --purge unattended-upgrades
SHELL
end
config.vm.define "lime2-test" do |lime2|
lime2.vm.box = "debian/bookworm64"
@ -26,6 +32,7 @@ Vagrant.configure("2") do |config|
end
mailserver.vm.provision "shell" do |shell|
shell.inline = <<-SHELL
export DEBIAN_FRONTEND=noninteractive
apt-get install -y lvm2
vgcreate vg_$HOSTNAME /dev/vdb
SHELL