Added nova scripts. Updated vpn script to take out unused code

This commit is contained in:
Tracey Clark 2018-02-19 09:00:32 -06:00
commit 076266359c
3 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1 @@
nova list| awk -F'|' {'print $3, $7'} | awk -F ' ' {'printf "%-30s %s\n", $1, $5'}

View file

@ -0,0 +1 @@
nova list| awk -F'|' {'print $7'} | awk -F ' ' {'print $4'} | grep --color=none 10

7
home_zsh/.zsh/functions/vpn Executable file
View file

@ -0,0 +1,7 @@
# vpn functions
tuntapme () {
sudo ip tuntap add vpn0 mode tun user tracey
}
vpn () {
sudo openconnect --juniper -i vpn0 -s 'sudo -E /usr/share/vpnc-scripts/vpnc-script' --useragent 'Mozilla/5.0 (Linux) Firefox' --csd-wrapper=tncc.py https://secureaccess.cpanel.net/dana-na/auth/url_1/welcome.cgi
}