4 # Provides: InstallUnattend
5 # RunBefore: UmountImage
7 # Short-Description: Installs Unattend.xml for unattended windows setup
11 . "@commondir@/common.sh"
13 if [ -z "$SNF_IMAGE_TARGET" ]; then
14 log_error "Target dir: \`$SNF_IMAGE_TARGET' is missing"
17 if [ "$SNF_IMAGE_OS" != "windows" ]; then
21 if [ -f "@commondir@/unattend.xml" ]; then
22 cat "@commondir@/unattend.xml" > "$SNF_IMAGE_TARGET/Unattend.xml"
24 log_error "File \`@commondir@/unattend.xml' is missing."
29 # vim: set sta sts=4 shiftwidth=4 sw=4 et ai :