Remove unttended-upgrades from test images
This commit is contained in:
parent
f9665d8d83
commit
efe4263b4a
1 changed files with 8 additions and 1 deletions
9
Vagrantfile
vendored
9
Vagrantfile
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue