mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 15:28:05 +00:00
small tweaks based on usage
This commit is contained in:
@@ -306,8 +306,6 @@ function generateEnvFile {
|
||||
export ENV_FILE="${ZITI_HOME-}/${ZITI_NETWORK-}.env"
|
||||
|
||||
echo -e "environment file created and sourced from: $(BLUE "${ENV_FILE}")"
|
||||
# shellcheck disable=SC1090
|
||||
source "${ENV_FILE}"
|
||||
}
|
||||
|
||||
function ziti_expressConfiguration {
|
||||
@@ -1177,7 +1175,7 @@ function ziti_createEnvFile {
|
||||
echo "export PFXLOG_NO_JSON=true" >> "${ENV_FILE}"
|
||||
|
||||
echo "alias zec='ziti edge'" >> "${ENV_FILE}"
|
||||
echo "alias zlogin='ziti edge login \"${ZITI_EDGE_CONTROLLER_API}\" -u \"${ZITI_USER-}\" -p \"${ZITI_PWD}\" -c \"${ZITI_PKI}/${ZITI_EDGE_CONTROLLER_INTERMEDIATE_NAME}/certs/${ZITI_EDGE_CONTROLLER_INTERMEDIATE_NAME}.cert\"'" >> "${ENV_FILE}"
|
||||
echo "alias zlogin='ziti edge login \"\${ZITI_EDGE_CONTROLLER_API}\" -u \"\${ZITI_USER-}\" -p \"\${ZITI_PWD}\" -c \"\${ZITI_PKI}/\${ZITI_EDGE_CONTROLLER_INTERMEDIATE_NAME}/certs/\${ZITI_EDGE_CONTROLLER_INTERMEDIATE_NAME}.cert\"'" >> "${ENV_FILE}"
|
||||
echo "alias psz='ps -ef | grep ziti'" >> "${ENV_FILE}"
|
||||
|
||||
#when sourcing the emitted file add the bin folder to the path
|
||||
|
||||
Reference in New Issue
Block a user