From 3f4ba39e9a7f4cba27a96d12d510c2f41900e31b Mon Sep 17 00:00:00 2001 From: Stefano Salsano Date: Mon, 1 Jan 2024 17:55:48 +0100 Subject: [PATCH] Update base-xubuntu-prepare-for-vagrant.sh --- packer/base-xubuntu-prepare-for-vagrant.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packer/base-xubuntu-prepare-for-vagrant.sh b/packer/base-xubuntu-prepare-for-vagrant.sh index 3dab689..4f1ce87 100644 --- a/packer/base-xubuntu-prepare-for-vagrant.sh +++ b/packer/base-xubuntu-prepare-for-vagrant.sh @@ -52,6 +52,7 @@ echo "root:root" | chpasswd #disable auto upgrades sed -i 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/' /etc/apt/apt.conf.d/20auto-upgrades +sed -i 's/APT::Periodic::Unattended-Upgrade "1";/APT::Periodic::Unattended-Upgrade "0";/' /etc/apt/apt.conf.d/20auto-upgrades # In order to keep SSH speedy even when your machine or the Vagrant machine is not connected to the internet sed -i 's/#UseDNS no/UseDNS no/' /etc/ssh/sshd_config