<?xml version="1.0" encoding="utf-8"?>
<unattend
xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="generalize">
<component
           name="Microsoft-Windows-PnpSysprep"
           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">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
</component>
</settings>
<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">
<TimeZone>Korea Standard Time</TimeZone>
<RegisteredOwner>appadm1</RegisteredOwner>
<RegisteredOrganization>Administrator</RegisteredOrganization>
<ComputerName>win2019-ext</ComputerName>
</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>
<Order>1</Order>
<Path>cmd /c netsh interface ip set address name="이더넷" static 10.10.68.135 255.255.255.0 10.101.68.1 1</Path>
</RunSynchronousCommand>
<RunSynchronousCommand>
<Order>2</Order>
<Path>cmd /c netsh interface ip add dns name="이더넷" 192.168.122.1</Path>
</RunSynchronousCommand>
<RunSynchronousCommand>
<Order>3</Order>
<Path>cmd /c timeout 30 > NUL</Path>
</RunSynchronousCommand>
<RunSynchronousCommand>
<Order>4</Order>
<Path>cmd /c net user appadm1 tlstprP1@# /add /passwordreq:yes /active:yes</Path>
</RunSynchronousCommand>
<RunSynchronousCommand>
<Order>5</Order>
<Path>cmd /c net localgroup Administrators appadm1 /add</Path>
</RunSynchronousCommand>
<RunSynchronousCommand>
<Order>6</Order>
<Path>cmd /c net localgroup Users appadm1 /del</Path>
</RunSynchronousCommand>
<RunSynchronousCommand>
<Order>7</Order>
<Path>cmd /c net user svradm1 tlstprP1@# /add /passwordreq:yes /active:yes</Path>
</RunSynchronousCommand>
<RunSynchronousCommand>
<Order>8</Order>
<Path>cmd /c net localgroup Administrators svradm1 /add</Path>
</RunSynchronousCommand>
<RunSynchronousCommand>
<Order>9</Order>
<Path>cmd /c powershell -ep ByPass -WindowStyle Normal (New-Object System.Net.WebClient).DownloadFile('http://10.102.68.70/files/saltstack/Salt-Minion-3001.1-Py3-AMD64-Setup.exe', 'C:\Windows\Temp\Salt-Minion-3001.1-Py3-AMD64-Setup.exe')</Path>
</RunSynchronousCommand>
<RunSynchronousCommand>
<Order>10</Order>
<Path>cmd /c powershell Start-Process "C:\Windows\Temp\Salt-Minion-3001.1-Py3-AMD64-Setup.exe" -ArgumentList '/S /master=10.102.68.80,10.102.68.81,10.102.68.82 /minion-name=win2019-ext' -Wait -NoNewWindow -PassThru</Path>
</RunSynchronousCommand>
<RunSynchronousCommand>
<Order>11</Order>
<Path>cmd /c powershell Add-Content -Path C:\salt\conf\minion -Value 'winrepo_source_dir: salt://sw/win/sls-ng'</Path>
</RunSynchronousCommand>
<RunSynchronousCommand>
<Order>12</Order>
<Path>cmd /c powershell Restart-Service -Name salt-minion</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<cpi:offlineImage
       cpi:source="wim:c:/sources/install.wim#Windows 8 Enterprise"
xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>