Skip to content

Commit

Permalink
Update base-xubuntu-prepare-for-vagrant.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanoSalsano authored Jan 1, 2024
1 parent c6309a7 commit 3f4ba39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packer/base-xubuntu-prepare-for-vagrant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f4ba39

Please sign in to comment.