Skip to content

Instantly share code, notes, and snippets.

@zyedidia
Created November 15, 2022 01:05
Show Gist options
  • Save zyedidia/b1642a2b2bd87dfbe3632dfbc4f183c9 to your computer and use it in GitHub Desktop.
Save zyedidia/b1642a2b2bd87dfbe3632dfbc4f183c9 to your computer and use it in GitHub Desktop.
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/focal64"
config.vm.synced_folder ".", "/vagrant"
config.vm.synced_folder ".", "/home/vagrant/sync"
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
vb.cpus = 2
vb.customize ["modifyvm", :id, "--uart1", "0x3F8", "4"]
vb.customize ["modifyvm", :id, "--uartmode1", "file", File::NULL]
end
config.vm.provision "shell", inline: <<-SHELL
systemctl disable apt-daily.service
systemctl disable apt-daily.timer
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment