Skip to content

Commit

Permalink
drop support for windows 10
Browse files Browse the repository at this point in the history
  • Loading branch information
rgl committed Nov 19, 2023
1 parent 3608ceb commit b463bd7
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 566 deletions.
18 changes: 0 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ IMAGES+= windows-2019
IMAGES+= windows-2019-uefi
IMAGES+= windows-2022
IMAGES+= windows-2022-uefi
IMAGES+= windows-10-20h2
IMAGES+= windows-11-23h2
IMAGES+= windows-11-23h2-uefi

Expand All @@ -22,7 +21,6 @@ PROXMOX_IMAGES+= windows-11-23h2-uefi
# Images supporting Hyper-V
HYPERV_IMAGES+= windows-2019
HYPERV_IMAGES+= windows-2022
HYPERV_IMAGES+= windows-10-20h2
HYPERV_IMAGES+= windows-11-23h2

# Images supporting vSphere
Expand Down Expand Up @@ -141,17 +139,6 @@ $(VSPHERE_BUILDS): build-%-vsphere: %-amd64-vsphere.box
$*-uefi-amd64-proxmox-packer.log \
>$*-uefi-amd64-proxmox-windows-updates.log

tmp/windows-10-%-vsphere/autounattend.xml: windows-10/autounattend.xml
mkdir -p "$$(dirname $@)"
@# add the vmware tools iso to the drivers search path.
@# NB we cannot have this in the main autounattend.xml because windows
@# will fail to install when the virtualbox guest additions iso is in E:
@# with the error message:
@# Windows Setup could not install one or more boot-critical drivers.
@# To install Windows, make sure that the drivers are valid, and
@# restart the installation.
sed -E 's,(.+)</DriverPaths>,\1 <PathAndCredentials wcm:action="add" wcm:keyValue="2"><Path>E:\\</Path></PathAndCredentials>\n\0,g' $< >$@

tmp/%-vsphere/autounattend.xml: %/autounattend.xml
mkdir -p "$$(dirname $@)"
@# add the vmware tools iso to the drivers search path.
Expand Down Expand Up @@ -217,11 +204,6 @@ tmp/%-vsphere/autounattend.xml: %/autounattend.xml
@echo to add to local vagrant install do:
@echo vagrant box add -f $*-uefi-amd64 $@

# All the Windows 10 versions depend on the same autounattend.xml
# This allows the use of pattern rules by satisfying the prerequisite
.PHONY: \
windows-10-20h2/autounattend.xml

drivers:
rm -rf drivers.tmp
mkdir -p drivers.tmp
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This builds Windows 10/11/2019/2022 base Vagrant boxes using [Packer](https://www.packer.io/) and VirtualBox/Hyper-V/libvirt/QEMU/Proxmox VE/VMware vSphere.
This builds Windows 11/2019/2022 base Vagrant boxes using [Packer](https://www.packer.io/) and VirtualBox/Hyper-V/libvirt/QEMU/Proxmox VE/VMware vSphere.


# Usage
Expand Down
2 changes: 1 addition & 1 deletion remove-apps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Get-AppXProvisionedPackage -Online | ForEach-Object {

# remove appx packages.
# NB some packages fail to be removed and thats OK.
# see https://docs.microsoft.com/en-us/windows/application-management/apps-in-windows-10
# see https://learn.microsoft.com/en-us/windows/application-management/overview-windows-apps
@(
'Microsoft.BingWeather'
'Microsoft.GetHelp'
Expand Down
251 changes: 0 additions & 251 deletions windows-10-20h2.pkr.hcl

This file was deleted.

Loading

0 comments on commit b463bd7

Please sign in to comment.