Revision 61e43304 snf-image-helper/tasks/40InstallUnattend.in
b/snf-image-helper/tasks/40InstallUnattend.in | ||
---|---|---|
11 | 11 |
. @commondir@/common.sh |
12 | 12 |
|
13 | 13 |
if [ -z "$SNF_IMAGE_TARGET" ]; then |
14 |
log_error "Target dir: \`$SNF_IMAGE_TARGET' is missing"
|
|
14 |
log_error "Target dir: \`$SNF_IMAGE_TARGET' is missing"
|
|
15 | 15 |
fi |
16 | 16 |
|
17 | 17 |
if [ "$SNF_IMAGE_TYPE" != "ntfsdump" ]; then |
18 |
exit 0
|
|
18 |
exit 0
|
|
19 | 19 |
fi |
20 | 20 |
|
21 |
if [ -e /usr/share/snf-image/unattend.xml ]; then |
|
22 |
cat /usr/share/snf-image/unattend.xml > $SNF_IMAGE_TARGET/Unattend.xml |
|
21 |
if [ -f @commondir@/unattend.xml ]; then |
|
22 |
cat @commondir@/unattend.xml > $SNF_IMAGE_TARGET/Unattend.xml |
|
23 |
else |
|
24 |
log_error "File \`@commondir@/unattend.xml' is missing." |
|
23 | 25 |
fi |
24 | 26 |
|
25 | 27 |
exit 0 |
Also available in: Unified diff