mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-15 17:20:20 +00:00
Update windows commands to support TLS1.2
This commit is contained in:
parent
3bae220e0c
commit
a9daa35db7
1 changed files with 7 additions and 7 deletions
14
README.rst
14
README.rst
|
@ -400,18 +400,18 @@ Install on Windows
|
|||
|
||||
Using ``PowerShell`` to install latest stable version:
|
||||
|
||||
.. code:: console
|
||||
.. code:: powershell
|
||||
|
||||
Invoke-WebRequest -Uri https://winbootstrap.saltproject.io -OutFile $env:TEMP\bootstrap-salt.ps1
|
||||
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
|
||||
& $env:TEMP\bootstrap-salt.ps1
|
||||
Set-ExecutionPolicy -ExecutionPolicy Undefined -Scope CurrentUser
|
||||
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls12'
|
||||
Invoke-WebRequest -Uri https://winbootstrap.saltproject.io -OutFile "$env:TEMP\bootstrap-salt.ps1"
|
||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
|
||||
& "$env:TEMP\bootstrap-salt.ps1"
|
||||
|
||||
Display information about the install script parameters:
|
||||
|
||||
.. code:: console
|
||||
.. code:: powershell
|
||||
|
||||
help $env:TEMP\bootstrap-salt.ps1 -Detailed
|
||||
Get-Help $env:TEMP\bootstrap-salt.ps1 -Detailed
|
||||
|
||||
Using ``cygwin`` to install latest stable version:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue