新增learn-kubernetes(https://github.com/yyong-brs/learn-kubernetes)相关文件
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# set PowerShell as default shell:
|
||||
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' -name Shell -Value 'PowerShell.exe -noExit'
|
||||
|
||||
# add SSH:
|
||||
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
|
||||
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
|
||||
Start-Service sshd
|
||||
Set-Service -Name sshd -StartupType Automatic
|
||||
|
||||
# disable firewall :)
|
||||
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False
|
||||
@@ -0,0 +1,3 @@
|
||||
Get-PackageProvider -name nuget -force
|
||||
Install-Module PSWindowsUpdate -confirm:$false -force
|
||||
Get-WindowsUpdate -Install -acceptall -IgnoreReboot
|
||||
Reference in New Issue
Block a user