This commit is contained in:
Manuel Thalmann 2023-07-09 00:02:10 +02:00
parent 150892e21b
commit af2539b0da

View file

@ -52,7 +52,7 @@ $Global:SetupConfigPostprocessor = {
$null = $partitionCreationContainer.AppendChild($newPartition);
$partitionModificationContainer = $diskConfig.SelectSingleNode("./ua:ModifyPartitions", $namespace);
$partitionModifications = $partitionModificationContainer.SelectNodes("./ModifyPartition", $namespace);
$partitionModifications = $partitionModificationContainer.SelectNodes("./ua:ModifyPartition", $namespace);
$newModification = $partitionModifications[1].CloneNode($true);
$newModification.SelectSingleNode("./ua:Order", $namespace).InnerText = "$newIndex";
$newModification.SelectSingleNode("./ua:PartitionID", $namespace).InnerText = "$newIndex";