1
0
Fork 0

add nova-env for ovh cloud management

This commit is contained in:
Maurice Audin 2017-05-24 17:34:36 +02:00
parent df314fb3cb
commit 0f17e522d8

View file

@ -3,7 +3,7 @@ export INFRA=/home/hybris/dev/bearstech/bearstech/infra
export PATH=$INFRA/bin:$INFRA/../xen:$PATH export PATH=$INFRA/bin:$INFRA/../xen:$PATH
# Everyday aliases # Everyday aliases
bthost() {cat $INFRA/host/$1} bthost() {cat $INFRA/host/$1}
dom0() {awk '/Container:/{ print $2}' ${INFRA}/host/${1}} dom0() {awk '/Container:/{ print $2}' ${INFRA}/host/${1}}
alerts() {ssh root@pidou monshow | grep -v "none$" | grep -v "^ " | grep -v "^$"} alerts() {ssh root@pidou monshow | grep -v "none$" | grep -v "^ " | grep -v "^$"}
tickets() {curl "https://maudin:$(/home/hybris/.scripts/keepcli -p Dashbeard)@dashbeard.bearstech.com/api/dashbeard.txt"} tickets() {curl "https://maudin:$(/home/hybris/.scripts/keepcli -p Dashbeard)@dashbeard.bearstech.com/api/dashbeard.txt"}
@ -14,3 +14,6 @@ vpn-bear() {for i in $(nmcli con | grep vpn | grep -v -- -- | cut -d' ' -f1); do
source '/home/hybris/dev/bearstech/google-cloud-sdk/path.zsh.inc' source '/home/hybris/dev/bearstech/google-cloud-sdk/path.zsh.inc'
# The next line enables shell command completion for gcloud. # The next line enables shell command completion for gcloud.
source '/home/hybris/dev/bearstech/google-cloud-sdk/completion.zsh.inc' source '/home/hybris/dev/bearstech/google-cloud-sdk/completion.zsh.inc'
# OVH cloud
nova-env () {source $INFRA/cloud/ovh-$1.env}