Skip to content

Instantly share code, notes, and snippets.

@fljdin
Last active March 2, 2022 10:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fljdin/30ffaa270442655cc59d2ce27e601c2d to your computer and use it in GitHub Desktop.
Save fljdin/30ffaa270442655cc59d2ce27e601c2d to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "rockylinux/8"
config.vm.hostname = "rocky8"
config.vm.provider "libvirt" do |libvirt|
libvirt.memory = 512
libvirt.cpus = 2
libvirt.machine_virtual_size = 40
libvirt.disk_driver :cache => "none"
end
config.vm.provision "shell", inline: <<-SHELL
dnf -y install cloud-utils-growpart
growpart /dev/vda 1
xfs_growfs /dev/vda1
dnf -y update
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment