diff --git a/util/github-runners-vagrant/Vagrantfile b/util/github-runners-vagrant/Vagrantfile index ad294a3b38..2a891b9688 100644 --- a/util/github-runners-vagrant/Vagrantfile +++ b/util/github-runners-vagrant/Vagrantfile @@ -40,9 +40,10 @@ Vagrant.configure("2") do |config| config.ssh.password = "vagrant" config.vm.provider "libvirt" do |vb| - # Customize the amount of cpus and memory on the VM: + # Customize the amount of cpus, memory, and storage on the VM: vb.cpus = "4".to_i vb.memory = "16384".to_i + vb.machine_virtual_size = 128 # 128G is the minimum. end # sets up vm diff --git a/util/github-runners-vagrant/provision_root.sh b/util/github-runners-vagrant/provision_root.sh index 5a42556779..f18a170c95 100644 --- a/util/github-runners-vagrant/provision_root.sh +++ b/util/github-runners-vagrant/provision_root.sh @@ -72,3 +72,6 @@ usermod -aG docker vagrant # Cleanup apt-get autoremove -y + +# Resize the root partition to fill up all the free size on the disk +lvextend -l +100%FREE $(df / --output=source | sed 1d)