Revision f6e23601 snf-image-helper/tasks/40AddDeleteUnattendScript.in

b/snf-image-helper/tasks/40AddDeleteUnattendScript.in
14 14
	log_error "Target dir: \`$SNF_IMAGE_TARGET' is missing"	
15 15
fi
16 16

  
17
if [ "$SNF_IMAGE_TYPE" = "ntfsdump" ]; then
17
if [ "$SNF_IMAGE_OS" = "windows" ]; then
18 18
    # Make sure Unattend.xml is removed after setup has finished
19 19
    mkdir -p "$SNF_IMAGE_TARGET/Windows/Setup/Scripts"
20 20
    echo "del /Q /F C:\Unattend.xml" > "$SNF_IMAGE_TARGET/Windows/Setup/Scripts/SetupComplete.cmd"

Also available in: Unified diff