true
Korea Standard Time
appadm1
Administrator
sic-jkn-dei01
1
cmd /c netsh interface ipv4 set address name="이더넷" static 10.102.68.111 255.255.255.0 10.102.68.1 1
2
cmd /c netsh interface ipv4 add dns name="이더넷" 174.100.20.2
3
cmd /c timeout 30 > NUL
4
cmd /c net user appadm1 tlstprP1@# /add /passwordreq:yes /active:yes
5
cmd /c net localgroup Administrators appadm1 /add
6
cmd /c net localgroup Users appadm1 /del
7
cmd /c net user svradm1 tlstprP1@# /add /passwordreq:yes /active:yes
8
cmd /c net localgroup Administrators svradm1 /add
9
cmd /c powershell -ep ByPass -WindowStyle Normal (New-Object System.Net.WebClient).DownloadFile('http://10.103.64.54/files/saltstack/Salt-Minion-3001.1-Py3-AMD64-Setup.exe', 'C:\Windows\Temp\Salt-Minion-3001.1-Py3-AMD64-Setup.exe')
10
cmd /c powershell Start-Process "C:\Windows\Temp\Salt-Minion-3001.1-Py3-AMD64-Setup.exe" -ArgumentList '/S /master=10.102.68.69 /minion-name=sic-jkn-dei01' -Wait -NoNewWindow -PassThru
11
cmd /c powershell Add-Content -Path C:\salt\conf\minion -Value 'winrepo_source_dir: salt://sw/win/sls-ng'
12
cmd /c powershell Restart-Service -Name salt-minion