mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-15 17:20:20 +00:00
docs(windows): update for windows-py3
This commit is contained in:
parent
49669edf4f
commit
4179e8f204
2 changed files with 22 additions and 1 deletions
21
README.rst
21
README.rst
|
@ -227,6 +227,27 @@ Installing the latest master branch of Salt:
|
|||
curl -L https://bootstrap.saltstack.com | sudo sh -s -- git master
|
||||
|
||||
|
||||
Install on Windows
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Using ``PowerShell`` to install latest stable version:
|
||||
|
||||
.. code:: console
|
||||
|
||||
Invoke-WebRequest -Uri https://winbootstrap.saltstack.com -OutFile C:\Temp\bootstrap-salt.ps1
|
||||
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
|
||||
C:\Temp\bootstrap-salt.ps1
|
||||
Set-ExecutionPolicy -ExecutionPolicy Undefined -Scope CurrentUser
|
||||
|
||||
|
||||
Using ``cygwin`` to install latest stable version:
|
||||
|
||||
.. code:: console
|
||||
|
||||
curl -o bootstrap-salt.ps1 -L https://winbootstrap.saltstack.com
|
||||
"/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0/powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ./bootstrap-salt.ps1"
|
||||
|
||||
|
||||
Supported Operating Systems
|
||||
---------------------------
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ Param(
|
|||
[Parameter(Mandatory=$false,ValueFromPipeline=$true)]
|
||||
# Doesn't support Python versions prior to "2017.7.0"
|
||||
[ValidateSet("2","3")]
|
||||
[string]$pythonVersion = "2",
|
||||
[string]$pythonVersion = "3",
|
||||
|
||||
[Parameter(Mandatory=$false,ValueFromPipeline=$true)]
|
||||
[ValidateSet("true","false")]
|
||||
|
|
Loading…
Add table
Reference in a new issue