# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| # For a complete reference, please see the online documentation at # https://docs.vagrantup.com. config.vm.box = "debian/bookworm64" # Create a private network, which allows host-only access to the machine # using a specific IP. config.vm.hostname = "d12bit" config.vm.network "private_network", ip: "192.168.56.75" # config.vm.network "forwarded_port", guest: 80, host: 8080 config.vm.provider "virtualbox" do |vb| vb.memory = 4096 vb.cpus = 4 # Display the VirtualBox GUI when booting the machine vb.gui = true # Increase the Video RAM to 128MB to allow bigger desktops: vb.customize ["modifyvm", :id, "--vram", "128"] # Change the network cards to VirtIO for better performance: # Two network cards since I also have a host-only network. vb.customize ["modifyvm", :id, '--nictype1', 'virtio'] vb.customize ["modifyvm", :id, '--nictype2', 'virtio'] # Enable USB 2.0 controllers on the VM vb.customize ['modifyvm', :id, '--usbehci', 'on'] end config.vm.provision "shell", env: {"DEBIAN_FRONTEND" => "noninteractive"}, inline: <<-SHELL apt-get update apt-get --yes dist-upgrade apt-get install --yes \ aptitude ntpdate \ task-xfce-desktop libreoffice-*- firefox-esr- xsane- synaptic- yelp- parole- \ build-essential linux-headers-amd64 \ vim git \ gettext python3-packaging python3-pyqt6 python3-dbus python3-dbus.mainloop.pyqt6 \ libnotify-bin python3-keyring python3-secretstorage python3-pyfakefs policykit-1 \ rsync sshfs encfs meld oxygen-icon-theme \ at-spi2-core \ fakeroot debhelper dh-python # Downloading and installing things have ended, clean the downloaded packages. apt-get clean cat > /etc/lightdm/lightdm.conf < ~/.config/backintime/config <