Revision 86ddc018 common_windows.sh

b/common_windows.sh
32 32
    echo "Serial console for windows is not supported..."
33 33
}
34 34

  
35
windows_filesystem_check() {
36
    # Nothing to do for now....
37
    echo "No filesystem check needed..."
35
windows_epilogue() {
36
    local target=$1
37
    if [ -z "$target" ] ; then
38
        log_error "target not set"
39
        exit 1;
40
    fi
41

  
42
    # Write the initial Unattend.xml to %SystemDrive%
43
    cat unattend.xml > "$target/Unattend.xml"
44

  
45
    #TODO: I need to add code here that configures Windows to remove
46
    # Unattend.xml after the setup finishes. Leaving Unattend.xml in place
47
    # raises security concerns
38 48
}
49

  

Also available in: Unified diff