Fix use of incorrect variable
This commit is contained in:
parent
2a94444211
commit
fd56f9e8cd
|
@ -30,7 +30,7 @@ $Global:SetupConfigPostprocessor = {
|
||||||
$partitionCreations.AppendChild($newPartition);
|
$partitionCreations.AppendChild($newPartition);
|
||||||
|
|
||||||
$partitionModifications = $diskConfig.SelectSingleNode("./ua:ModifyPartitions", $namespace);
|
$partitionModifications = $diskConfig.SelectSingleNode("./ua:ModifyPartitions", $namespace);
|
||||||
$newModification = $diskConfig.SelectNodes("./ua:ModifyPartition", $namespace)[2].CloneNode($true);
|
$newModification = $partitionModifications.SelectNodes("./ua:ModifyPartition", $namespace)[2].CloneNode($true);
|
||||||
$newModification.SelectSingleNode("./ua:Order", $namespace).InnerText = "$newIndex";
|
$newModification.SelectSingleNode("./ua:Order", $namespace).InnerText = "$newIndex";
|
||||||
$newModification.SelectSingleNode("./ua:PartitionID", $namespace).InnerText = "$newIndex";
|
$newModification.SelectSingleNode("./ua:PartitionID", $namespace).InnerText = "$newIndex";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue