diff --git a/README.md b/README.md index 23b61bc..a3a1ba9 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,9 @@ This will: # Usage -Build and install the [Ubuntu 22.04 Base Box](https://github.com/rgl/ubuntu-vagrant). +Build and install the [Ubuntu 22.04 UEFI Base Box](https://github.com/rgl/ubuntu-vagrant). -Build and install the [Windows 2022 Base Box](https://github.com/rgl/windows-vagrant). +Build and install the [Windows 2022 UEFI Base Box](https://github.com/rgl/windows-vagrant). Add the following entry to your `/etc/hosts` file: diff --git a/Vagrantfile b/Vagrantfile index ea35705..f18e3fb 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -21,7 +21,7 @@ Vagrant.configure(2) do |config| end config.vm.define :nexus do |config| - config.vm.box = 'ubuntu-22.04-amd64' + config.vm.box = 'ubuntu-22.04-uefi-amd64' config.vm.hostname = nexus_domain config.vm.network 'private_network', ip: nexus_ip config.vm.provider :libvirt do |lv, config| @@ -48,7 +48,7 @@ Vagrant.configure(2) do |config| end config.vm.define :windows do |config| - config.vm.box = 'windows-2022-amd64' + config.vm.box = 'windows-2022-uefi-amd64' config.vm.network 'private_network', ip: '192.168.56.4' config.vm.provider :libvirt do |lv, config| config.vm.synced_folder '.', '/vagrant', type: 'smb', smb_username: ENV['USER'], smb_password: ENV['VAGRANT_SMB_PASSWORD'] diff --git a/provision/provision-resize-disk.sh b/provision/provision-resize-disk.sh index 7f30f5a..74822fd 100644 --- a/provision/provision-resize-disk.sh +++ b/provision/provision-resize-disk.sh @@ -6,9 +6,20 @@ partition_number="$(echo "$partition_device" | perl -ne '/(\d+)$/ && print $1')" disk_device="$(echo "$partition_device" | perl -ne '/(.+?)\d+$/ && print $1')" # resize the partition table. +# Warning: Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra 50331648 blocks) or continue with the current setting? +# Fix/Ignore? Fix +# Partition number? 2 +# Warning: Partition /dev/sda2 is being used. Are you sure you want to continue? +# Yes/No? +# Yes +# End? [8589MB]? +# 100% parted ---pretend-input-tty "$disk_device" <