Automatically join the Windows domain
This commit is contained in:
parent
924b02cb25
commit
b970d95f1b
1
top.sls
1
top.sls
@ -18,6 +18,7 @@ base:
|
||||
'G@os:Windows':
|
||||
- enable-wakeonlan
|
||||
- windowsWorkstation
|
||||
- windows-domain
|
||||
- printers
|
||||
- chocolatey-packages
|
||||
- removeShortcuts
|
||||
|
8
windows-domain.sls
Normal file
8
windows-domain.sls
Normal file
@ -0,0 +1,8 @@
|
||||
Join Sawtooth Domain:
|
||||
system.join_domain:
|
||||
- name: sawtooth.claremontmakerspace.org
|
||||
- username: {{ salt['pillar.get']('domainjoin:user') }}
|
||||
- password: {{ salt['pillar.get']('domainjoin:pass') }}
|
||||
|
||||
'gpupdate':
|
||||
cmd.run
|
@ -15,9 +15,6 @@ windowsUpdates:
|
||||
wua.uptodate:
|
||||
- drivers: true
|
||||
|
||||
'gpupdate':
|
||||
cmd.run
|
||||
|
||||
Final Housekeeping:
|
||||
powercfg.set_timeout: # Reset sleep timeout
|
||||
- name: standby
|
||||
|
Loading…
Reference in New Issue
Block a user