[Libosinfo] [osinfo-db PATCH 3/5] install-script, windows, dekstop: Don't hardcode the target-disk value

Fabiano Fidêncio fidencio at redhat.com
Thu Jun 6 12:31:10 UTC 2019


There's already a template for getting the proper target-disk value,
let's use it instead of hardcoding it to "C".

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 .../microsoft.com/windows-unattend-desktop.xml.in               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/install-script/microsoft.com/windows-unattend-desktop.xml.in b/data/install-script/microsoft.com/windows-unattend-desktop.xml.in
index 986553b..cfdbf28 100644
--- a/data/install-script/microsoft.com/windows-unattend-desktop.xml.in
+++ b/data/install-script/microsoft.com/windows-unattend-desktop.xml.in
@@ -213,7 +213,7 @@
           <RunSynchronous  wcm:action="add">
            <RunSynchronousCommand>
             <Order>1</Order>
-            <Path>cmd /C <xsl:call-template name="script-disk"/>:\windows.cmd  >c:\windows\osinfo.log 2>&1</Path>
+            <Path>cmd /C <xsl:call-template name="script-disk"/>:\windows.cmd  ><xsl:call-template name="target-disk"/>:\windows\osinfo.log 2>&1</Path>
             <Description>Post installation setup</Description>
            </RunSynchronousCommand>
           </RunSynchronous>
-- 
2.21.0




More information about the Libosinfo mailing list