How to use this box with Vagrant:
Vagrant.configure("2") do |config|
config.vm.box = "svetterIO/UbuntuDesktop22.04"
config.vm.box_version = "1.0"
end
vagrant init svetterIO/UbuntuDesktop22.04 \
--box-version 1.0
vagrant up
This version was created 6 months ago.
Info: This is a base image with ubuntu desktop based on generic/ubuntu2204
which has extensive provider support: vmware_desktop
, virtualbox
, hyperv
, ...
This is series of command how the vagrant base image has been created:
.Vagrant command series
vagrant up
vagrant halt
vagrant package
.Destroy VM if not required anymore
vagrant destroy -f
.Used Vagrantfile with anotations
Vagrant.configure("2") do |config|
# config.vm.box = "ubuntu/jammy64" # <1>
config.vm.box = "generic/ubuntu2204" # <2>
config.vm.provision "shell", reboot: true, inline:<<-EOF
sudo apt update -y # <3>
sudo apt install -y ubuntu-desktop open-vm-tools-desktop # <4>
EOF
end