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

_______________________________________________
Libosinfo mailing list
Libosinfo@redhat.com
https://www.redhat.com/mailman/listinfo/libosinfo

Reply via email to