[Libosinfo] [osinfo-db PATCH 2/5] install-script, windows, desktop: Don't harcode the script-disk value

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


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

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 b399bd0..986553b 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 A:\windows.cmd  >c:\windows\osinfo.log 2>&1</Path>
+            <Path>cmd /C <xsl:call-template name="script-disk"/>:\windows.cmd  >c:\windows\osinfo.log 2>&1</Path>
             <Description>Post installation setup</Description>
            </RunSynchronousCommand>
           </RunSynchronous>
-- 
2.21.0




More information about the Libosinfo mailing list