diff --git a/windows/http/Autounattend.xml.ISO.template b/windows/http/Autounattend.xml.ISO.template index 769d395..25946eb 100644 --- a/windows/http/Autounattend.xml.ISO.template +++ b/windows/http/Autounattend.xml.ISO.template @@ -17,9 +17,14 @@ MSR - true 3 Primary + 768 + + + 4 + true + Primary @@ -30,9 +35,16 @@ 1 + NTFS 2 + DE94BBA4-06D1-4D40-A16A-BFD50179D6AC 3 + + + NTFS + 3 + 4 @@ -43,7 +55,7 @@ - 3 + 4 0 false diff --git a/windows/windows.pkr.hcl b/windows/windows.pkr.hcl index ec8656f..0adeccd 100644 --- a/windows/windows.pkr.hcl +++ b/windows/windows.pkr.hcl @@ -105,7 +105,7 @@ build { "source scripts/setup-nbd", "TMP_DIR=$(mktemp -d /tmp/packer-maas-XXXX)", "echo 'Adding curtin-hooks to image...'", - "mount -t ntfs $${nbd}p3 $TMP_DIR", + "mount -t ntfs $${nbd}p4 $TMP_DIR", "mkdir -p $TMP_DIR/curtin", "cp ./curtin/* $TMP_DIR/curtin/", "sync -f $TMP_DIR/curtin",