mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
13 lines
285 B
Batchfile
13 lines
285 B
Batchfile
@ echo off
|
|
:: Script for invoking salt-key
|
|
:: Accepts all parameters that salt-key accepts
|
|
|
|
:: Define Variables
|
|
Set SaltDir=%~dp0
|
|
Set SaltDir=%SaltDir:~0,-1%
|
|
Set Python=%SaltDir%\bin\python.exe
|
|
Set Script=%SaltDir%\bin\Scripts\salt-key
|
|
|
|
:: Launch Script
|
|
"%Python%" -E -s "%Script%" %*
|