Created
August 6, 2016 22:00
-
-
Save charly-vega/2cb4611ebd0ba3ad24a0140657271b84 to your computer and use it in GitHub Desktop.
Echo SL virtual server credentials
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function login_vs () { | |
local vs_details=`slcli vs list | grep $1` | |
vs_details=($vs_details) | |
vs_id=${vs_details[0]} | |
local vs_credentials=`slcli vs credentials $vs_id | grep $2` | |
vs_credentials=($vs_credentials) | |
echo ${vs_credentials[1]} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment