How to use this box with Vagrant:

Vagrant.configure("2") do |config|
  config.vm.box = "peru/ubuntu-18.04-server-amd64"
  config.vm.box_version = "20240201.01"
end
vagrant init peru/ubuntu-18.04-server-amd64 \
  --box-version 20240201.01
vagrant up

This version was created 8 months ago.

Ubuntu Server

Clean + Minimal + Latest Ubuntu Server amd64 base box for libvirt and VirtualBox Vagrant providers.


GitHub repository for bug reports or feature requests

Requirements

Here are the steps for latest Fedora/Ubuntu to install Vagrant and vagrant-libvirt + KVM:

# Fedora
dnf install -y vagrant-libvirt

# Ubuntu
apt install -y libvirt-bin vagrant-libvirt

Getting started

Install and connect to the box:

mkdir "ubuntu-18.04-server-amd64" && cd "ubuntu-18.04-server-amd64" || exit
vagrant init "peru/ubuntu-18.04-server-amd64"
VAGRANT_DEFAULT_PROVIDER=libvirt vagrant up
# or
VAGRANT_DEFAULT_PROVIDER=virtualbox vagrant up
vagrant ssh

Login Credentials

(root password is not set)

  • Username: vagrant
  • Password: vagrant

VM Specifications

Drivers / Devices added for the VMs for specific providers.

Libvirt

  • Libvirt Provider
  • VirtIO dynamic Hard Disk (up to 50 GiB)
  • VirtIO Network Interface
  • QXL Video Card (SPICE display)

VirtualBox

  • SATA Disk

Configuration

Minimal installation

See the preseed file

  • en_US.UTF-8
  • keymap for standard US keyboard
  • UTC timezone
  • NTP enabled (default configuration)
  • full-upgrade
  • unattended-upgrades
  • /dev/vda1 mounted on / using ext4 filesystem (all files in one partition)
  • no swap

Additional Drivers installed for VirtualBox boxes

  • VirtualBox Guest Additions
1 provider for this version.
  • libvirt
    amd64 Hosted by Vagrant Cloud (472 MB)