* Do not commit the .venv file

* Fix packer formatting issues

* I am, once again, asking to fix the cache path

* Fix URI generation for tests

* Prevent prompting during Hyper-V tests

* Add more waits to hopefully build on GHA

* Hyper-V ISO expansion

Expand coverage of Hyper-V ISO to all distros except Debian
Simplify a few steps in the update/upgrade process for VMs
Edit the test script for Windows support

* Fix plugin cache path on Mac

* Point to the correct mirror URL
This commit is contained in:
Greg Hellings
2023-12-07 12:15:48 -06:00
committed by GitHub
parent 634aae8d75
commit ebbc8a7371
34 changed files with 145 additions and 72 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ name="${0%.sh}"
baseurl="https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-boot.iso"
checksums="$(mktemp)"
until curl -f -L -o "${checksums}" "${baseurl}.SHA256SUM"; do
until curl -f -L "${baseurl}.SHA256SUM" > "${checksums}"; do
sleep 1
done
sha="$(awk '/SHA256/ {print $4}' "${checksums}")"
@@ -26,4 +26,4 @@ boot_command = [
"<enter><wait>"
]
cd_files = [ "distros/centos-stream/9/disc/*" ]
HERPDERP
HERPDERP
+10 -1
View File
@@ -70,7 +70,9 @@ open-vm-tools
%addon com_redhat_kdump --disable
%end
%post
%post --erroronfail
dnf update -y
# configure swap to a file
fallocate -l 2G /swapfile
chmod 600 /swapfile
@@ -150,6 +152,13 @@ restorecon -f - <<EOF
/etc/dracut.conf.d/nofloppy.conf
EOF
virt="$(systemd-detect-virt)"
if [ "${virt}" == "microsoft" ]; then
systemctl enable hpervfcopyd
systemctl enable hypervkvpd
systemctl enable hypervvssd
fi
# Rerun dracut for the installed kernel (not the running kernel):
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
dracut -f /boot/initramfs-${KERNEL_VERSION}.img ${KERNEL_VERSION}
+1 -3
View File
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
set -ex
dnf -y update
dnf clean all
dnf clean all