From 0d55dd198b5fe9cf73681d00a64e1302dea8fa6e Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Sun, 20 Oct 2024 05:06:45 +0000 Subject: [PATCH] Update repo --- scripts/Vagrantfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/Vagrantfile b/scripts/Vagrantfile index a67a993a35..1f05ad5c3b 100644 --- a/scripts/Vagrantfile +++ b/scripts/Vagrantfile @@ -3,7 +3,10 @@ Vagrant.configure("2") do |config| - config.vm.box = "ubuntu/jammy64" + config.vm.box = "bento/ubuntu-24.04" + + # default 300 is too short + config.vm.boot_timeout = 600 # use vagrant-disksize plugin to resize partition - https://github.com/sprotheroe/vagrant-disksize config.disksize.size = '50GB' @@ -19,7 +22,10 @@ Vagrant.configure("2") do |config| config.vm.synced_folder ".", "/vagrant", disabled: true # Filesystem needs to be resized - config.vm.provision "shell", inline: "resize2fs /dev/sda1", privileged: true + config.vm.provision "shell", inline: "pwd" + config.vm.provision "shell", inline: "stat -f -c%T ." + config.vm.provision "shell", inline: "mount" + config.vm.provision "shell", inline: "resize2fs /dev/sda2", privileged: true # Run environment setup scripts config.vm.provision "shell", inline: "cd /home/vagrant/termux-packages && ./scripts/setup-ubuntu.sh", privileged: false