Change windows partition size for testing

This commit is contained in:
Manuel Thalmann 2023-07-09 00:40:44 +02:00
parent 659f7c32f8
commit 5769fcfd4e

View file

@ -44,7 +44,7 @@ $Global:SetupConfigPostprocessor = {
# Add space before Windows installation... wha-!? For Linux, ofc! I use Arch Linux, btw. # Add space before Windows installation... wha-!? For Linux, ofc! I use Arch Linux, btw.
$size = ($partitionCreationContainer.SelectNodes("./ua:CreatePartition/ua:Size", $namespace) | Select-Object -First 1).CloneNode($true); $size = ($partitionCreationContainer.SelectNodes("./ua:CreatePartition/ua:Size", $namespace) | Select-Object -First 1).CloneNode($true);
$size.InnerText = "$((1 * 1024 * 1024) - $garbage)"; $size.InnerText = "$((64 * 1024) - $garbage)";
$null = $winPartition.RemoveChild($winPartition.SelectSingleNode("./ua:Extend", $namespace)); $null = $winPartition.RemoveChild($winPartition.SelectSingleNode("./ua:Extend", $namespace));
$null = $winPartition.AppendChild($size); $null = $winPartition.AppendChild($size);