Skip to content

Commit

Permalink
Update Vagrantfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dogi authored Jul 2, 2024
1 parent 42a9e1b commit 9ecb590
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Vagrant.configure(2) do |config|

config.vm.provision "shell", env: {"GITHUB_KEY" => ENV['GITHUB_KEY']}, inline: <<-SHELL
# adding backports
echo "deb http://ftp.de.debian.org/debian buster-backports main non-free" | sudo tee -a /etc/apt/sources.list
#echo "deb http://ftp.de.debian.org/debian bookworm-backports main non-free" | sudo tee -a /etc/apt/sources.list
# blacklist grub-pc and linux-image-amd64 from upgrades
echo grub-pc hold | dpkg --set-selections
echo linux-image-amd64 hold | dpkg --set-selections
Expand All @@ -37,6 +37,10 @@ Vagrant.configure(2) do |config|
# install important packages
apt update --allow-releaseinfo-change
apt install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common parted
echo -----------------------------------------------
echo -----------------------------------------------
# remove swap partition
swapoff -a
sed -i -e '11,2d;12d' /etc/fstab
Expand Down

0 comments on commit 9ecb590

Please sign in to comment.