-->
Home » , » AlmaLinux Guide: Vagrant Boxes

AlmaLinux Guide: Vagrant Boxes

Install and Use Vagrant on AlmaLinux 8 with Efficient Steps

AlmaLinux offers official AlmaLinux OS images for Vagrant Boxes. Images are delivered by the AlmaLinux Cloud SIG<?XML:NAMESPACE PREFIX = "[default] http://www.w3.org/2000/svg" NS = "http://www.w3.org/2000/svg" /> (opens new window).

The following images are available on HCP Vagrant Registry:

Vagrant Box
AlmaLinux OS 10
AlmaLinux OS 9
AlmaLinux OS 8

Libvirt
Intel/AMD (x86_64)
Intel/AMD (x86_64_v2)
Intel/AMD (x86_64)
Intel/AMD (x86_64)

VirtualBox
Intel/AMD (x86_64)
Intel/AMD (x86_64_v2)
Intel/AMD (x86_64)
Intel/AMD (x86_64)

Hyper-V
Intel/AMD (x86_64)
Intel/AMD (x86_64_v2)
Intel/AMD (x86_64)
Intel/AMD (x86_64)

VMware
Intel/AMD (x86_64)
Intel/AMD (x86_64_v2)
ARM64 (AArch64)
Intel/AMD (x86_64)
ARM64 (AArch64)
Intel/AMD (x86_64)

Parallels
ARM64 (AArch64)
ARM64 (AArch64)
-

TIP

If you are looking for AlmaLinux OS Kitten images, please, visit the AlmaLinux OS Kitten page.

How to increase disk size

Starting from the 20260318 version (8.10.20260318, 9.7.20260318, 10.1.20260318), automatic partition and filesystem resizing is enabled. This is implemented with the cloud-init NoCloud/None datasource configuration (via 99_vagrant.cfg).

To increase disk size (for example, to 100GB) for a specific provider:

  • Libvirt

    Vagrant.configure("2") do |config|
      config.vm.box = "almalinux/10"
    
      config.vm.provider "libvirt" do |libvirt|
        libvirt.machine_virtual_size = 100
      end
    end
    
  • VirtualBox

    Vagrant.configure("2") do |config|
      config.vm.box = "almalinux/10"
    
      config.vm.disk :disk, size: "100GB", primary: true
    
      config.vm.provider "virtualbox" do |vb|
        # VirtualBox specific configuration
      end
    end
    
  • VMware

    Vagrant.configure("2") do |config|
      config.vm.box = "almalinux/10"
    
      config.vm.disk :disk, size: "100GB", primary: true
    
      config.vm.provider "vmware_desktop" do |v|
        # Force a full clone (an independent copy of the disk)
        v.linked_clone = false
      end
    end
    
  • Hyper-V

    Vagrant.configure("2") do |config|
      config.vm.box = "almalinux/10"
    
      config.vm.disk :disk, size: "100GB", primary: true
    
      config.vm.provider "hyperv" do |hyperv|
        # Force a full clone (an independent copy of the disk)
        hyperv.linked_clone = false
      end
    end
    
  • Parallels

    Vagrant.configure("2") do |config|
      config.vm.box = "almalinux/10"
    
      config.vm.provider "parallels" do |prl|
        # Force a full clone (an independent copy of the disk)
        prl.linked_clone = false
        # Parallels requires disk size in MB (102400 MB = 100 GB)
        prl.customize "post-import",
          ["set", :id, "--device-set", "hdd0", "--size", "102400", "--no-fs-resize"]
      end
    end
    

Contribute and Get Help

If you are interested in contributing or need any assistance, check the SIG/Cloudwiki page and join the ~SIG/Cloud chat channel in Mattermost (opens new window)chat channel on chat.almalinux.org (opens new window).

Changelog

General updates

2024-12-23

All the boxes have been migrated to the HCP Vagrant Registry (opens new window).

AlmaLinux OS version 8.10.20260318, 9.7.20260318, 10.1.20260318
  • Package updates
  • New packages were added: cloud-utils-growpart
  • Enabled automatic partition and filesystem resizing when disk size is increased
AlmaLinux OS version 8.10.20260112
  • Packages updates
  • New packages were added: bind-export-libs, checkpolicy, cloud-init, dhcp-client, dhcp-common, dhcp-libs, geolite2-city, geolite2-country, ipcalc, libmaxminddb, python3-audit, python3-babel, python3-cffi, python3-chardet, python3-configobj, python3-cryptography, python3-idna, python3-jinja2, python3-jsonpatch, python3-jsonpointer, python3-jsonschema, python3-jwt, python3-libsemanage, python3-markupsafe, python3-netifaces, python3-oauthlib, python3-ply, python3-policycoreutils, python3-prettytable, python3-pycparser, python3-pyserial, python3-pysocks, python3-pytz, python3-requests, python3-setools, python3-urllib3
AlmaLinux OS version 9.7.20260111
  • Packages updates
  • New packages were added: checkpolicy, cloud-init, dhcp-client, dhcp-common, gdisk, ipcalc, python3-attrs, python3-audit, python3-babel, python3-chardet, python3-configobj, python3-distro, python3-idna, python3-jinja2, python3-jsonpatch, python3-jsonpointer, python3-jsonschema, python3-libsemanage, python3-markupsafe, python3-netifaces, python3-oauthlib, python3-policycoreutils, python3-prettytable, python3-pyrsistent, python3-pyserial, python3-pysocks, python3-pytz, python3-requests, python3-setools, python3-urllib3
AlmaLinux OS version 10.1.20260110
  • Packages updates
  • New packages were added: checkpolicy, cloud-init, dhcpcd, openssl, python3-audit, python3-charset-normalizer, python3-configobj, python3-distro, python3-idna, python3-jinja2, python3-jsonpatch, python3-jsonpointer, python3-libsemanage, python3-markupsafe, python3-oauthlib, python3-policycoreutils, python3-pyserial, python3-requests, python3-setools, python3-setuptools, python3-urllib3
Provider specific changes:
  • virtualbox

    • Built in VirtualBox 7.1.14, with the Guest Additions same version included.
  • vmware_desktop

    • Built for aarch64 in VMware Fusion 25H2u1 (25219963)
AlmaLinux OS version 10.1.20251125
  • AlmaLinux release 10.1 (Heliotrope Lion)
AlmaLinux OS version 9.7.20251119
  • AlmaLinux release 9.7 (Moss Jungle Cat)
AlmaLinux OS version 8.10.20251006
  • Packages updates
Provider specific changes:

-hyperv

  • Built in Hyper-V 10.0.26100.7019

  • virtualbox

    • Built in VirtualBox 7.1.6, with the Guest Additions same version included.
  • vmware_desktop

    • Built for x86_64 in VMware Workstation 17.6.3 (24583834)
AlmaLinux OS version 9.5.20241203
  • New packages were added:
    • langpacks-en: Adds en_US.UTF-8 setting it as a default locale.
    • tcpdump: A command-line tool for monitoring network traffic.
    • tuned: Tunes system settings dynamically. Which uses virtual-guest profile to optimize the virtual machine performance.
    • nfs-utils: Built-in capability for mounting Network File System (NFS) type of Vagrant synced folders.
    • cifs-utils: Built-in capability for mounting Server Message Block (SMB) type of Vagrant synced folders.
    • rsync: Built-in capability for Rsync type of Vagrant synced folders.
Provider specific changes:
  • virtualbox

    • Built in VirtualBox 7.1.4, with Guest Additions included in the same version.
  • vmware_desktop

    • Switch from BIOS to UEFI boot on x86_64.
    • Use VMXNET Generation 3 (VMXNET3) as the network adapter, as it is the latest, offers the best performance, and is compatible with the AlmaLinux OS kernel.
    • Upgrade the VMware virtual machine hardware version from 9 to 21, which is the latest. Since all desktop VMware products are now free, adopting the latest version will be faster, eventually encouraging users to utilize all the features of the latest hardware version.

source

0 commenti:

Post a Comment

Random Posts

Recent Posts

Recent Posts Widget

Popular Posts

Labels

Archive

page counter follow us in feedly
 
Copyright © 2014 Linuxlandit & The Conqueror Penguin
-->