Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-image
Commits
61e43304
Commit
61e43304
authored
Oct 06, 2011
by
Nikos Skalkotos
Browse files
Add unattend.xml file in snf-image-helper
parent
76009480
Changes
3
Hide whitespace changes
Inline
Side-by-side
snf-image-helper/Makefile.am
View file @
61e43304
...
...
@@ -8,7 +8,7 @@ SUBDIRS = tasks
dist_doc_DATA
=
COPYING AUTHORS ChangeLog
dist_bin_SCRIPTS
=
snf-image-helper
dist_scripts_SCRIPTS
=
snf-passtohash.py
dist_common_DATA
=
common.sh
dist_common_DATA
=
common.sh
unattend.xml
edit
=
sed
\
-e
's|@commondir[@]|
$(commondir)
|g'
\
...
...
snf-image-helper/tasks/40InstallUnattend.in
View file @
61e43304
...
...
@@ -11,15 +11,17 @@ set -e
.
@commondir@/common.sh
if
[
-z
"
$SNF_IMAGE_TARGET
"
]
;
then
log_error
"Target dir:
\`
$SNF_IMAGE_TARGET
' is missing"
log_error
"Target dir:
\`
$SNF_IMAGE_TARGET
' is missing"
fi
if
[
"
$SNF_IMAGE_TYPE
"
!=
"ntfsdump"
]
;
then
exit
0
exit
0
fi
if
[
-e
/usr/share/snf-image/unattend.xml
]
;
then
cat
/usr/share/snf-image/unattend.xml
>
$SNF_IMAGE_TARGET
/Unattend.xml
if
[
-f
@commondir@/unattend.xml
]
;
then
cat
@commondir@/unattend.xml
>
$SNF_IMAGE_TARGET
/Unattend.xml
else
log_error
"File
\`
@commondir@/unattend.xml' is missing."
fi
exit
0
...
...
snf-image-helper/unattend.xml
0 → 100644
View file @
61e43304
<?xml version="1.0" encoding="utf-8"?>
<unattend
xmlns=
"urn:schemas-microsoft-com:unattend"
>
<settings
pass=
"specialize"
>
<component
name=
"Microsoft-Windows-Shell-Setup"
processorArchitecture=
"amd64"
publicKeyToken=
"31bf3856ad364e35"
language=
"neutral"
versionScope=
"nonSxS"
xmlns:wcm=
"http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<DisableAutoDaylightTimeSet>
false
</DisableAutoDaylightTimeSet>
<TimeZone>
GTB Standard Time
</TimeZone>
<ComputerName>
*
</ComputerName>
<CopyProfile>
true
</CopyProfile>
<DoNotCleanTaskBar>
true
</DoNotCleanTaskBar>
</component>
<component
name=
"Microsoft-Windows-OutOfBoxExperience"
processorArchitecture=
"amd64"
publicKeyToken=
"31bf3856ad364e35"
language=
"neutral"
versionScope=
"nonSxS"
xmlns:wcm=
"http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<DoNotOpenInitialConfigurationTasksAtLogon>
true
</DoNotOpenInitialConfigurationTasksAtLogon>
</component>
<component
name=
"Microsoft-Windows-ServerManager-SvrMgrNc"
processorArchitecture=
"amd64"
publicKeyToken=
"31bf3856ad364e35"
language=
"neutral"
versionScope=
"nonSxS"
xmlns:wcm=
"http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<DoNotOpenServerManagerAtLogon>
true
</DoNotOpenServerManagerAtLogon>
</component>
<component
name=
"Microsoft-Windows-Deployment"
processorArchitecture=
"amd64"
publicKeyToken=
"31bf3856ad364e35"
language=
"neutral"
versionScope=
"nonSxS"
xmlns:wcm=
"http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<RunSynchronous>
<RunSynchronousCommand
wcm:action=
"add"
>
<Description>
Extend the filesystem
</Description>
<Order>
1
</Order>
<Path>
diskpart.exe /s C:\Windows\SnfScripts\ExtendFilesystem
</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings
pass=
"oobeSystem"
>
<component
name=
"Microsoft-Windows-International-Core"
processorArchitecture=
"amd64"
publicKeyToken=
"31bf3856ad364e35"
language=
"neutral"
versionScope=
"nonSxS"
xmlns:wcm=
"http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<InputLocale>
en-US
</InputLocale>
<SystemLocale>
en-US
</SystemLocale>
<UILanguage>
en-US
</UILanguage>
<UILanguageFallback>
en-US
</UILanguageFallback>
<UserLocale>
el-GR
</UserLocale>
</component>
<component
name=
"Microsoft-Windows-Shell-Setup"
processorArchitecture=
"amd64"
publicKeyToken=
"31bf3856ad364e35"
language=
"neutral"
versionScope=
"nonSxS"
xmlns:wcm=
"http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<Display>
<ColorDepth>
24
</ColorDepth>
<HorizontalResolution>
1024
</HorizontalResolution>
<VerticalResolution>
768
</VerticalResolution>
</Display>
<OOBE>
<HideEULAPage>
true
</HideEULAPage>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>
Admin1
</Value>
<PlainText>
true
</PlainText>
</AdministratorPassword>
</UserAccounts>
</component>
</settings>
<cpi:offlineImage
cpi:source=
"catalog:d:/sources/install_windows server 2008 r2 serverstandard.clg"
xmlns:cpi=
"urn:schemas-microsoft-com:cpi"
/>
</unattend>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment