From 6f7a44ed23db559dc7a35d33c36d714ffadcb396 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 3 Jul 2023 12:45:26 +0200 Subject: [PATCH] Add newly created nodes --- profiles/DerGeret/Windows/Setup.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/profiles/DerGeret/Windows/Setup.ps1 b/profiles/DerGeret/Windows/Setup.ps1 index 621d2c7c..eab7269a 100644 --- a/profiles/DerGeret/Windows/Setup.ps1 +++ b/profiles/DerGeret/Windows/Setup.ps1 @@ -28,6 +28,8 @@ $Global:SetupConfigPostprocessor = { } } + $partitionCreations.AppendChild($newPartition); + $partitionModifications = $diskConfig.SelectSingleNode("./ua:ModifyPartitions"); $newModification = $diskConfig.ChildNodes[2].CloneNode($true); $newModification.SelectSingleNode("./ua:Order").InnerText = "$newIndex"; @@ -42,4 +44,6 @@ $Global:SetupConfigPostprocessor = { $partition.SelectSingleNode("./ua:Order").InnerText = "$($partitionID + 1)"; } } + + $partitionModifications.AppendChild($newModification); }