Added nova scripts. Updated vpn script to take out unused code
This commit is contained in:
parent
8982abddd4
commit
076266359c
3 changed files with 9 additions and 0 deletions
1
home_zsh/.zsh/functions/novahosts
Executable file
1
home_zsh/.zsh/functions/novahosts
Executable file
|
|
@ -0,0 +1 @@
|
|||
nova list| awk -F'|' {'print $3, $7'} | awk -F ' ' {'printf "%-30s %s\n", $1, $5'}
|
||||
1
home_zsh/.zsh/functions/novaips
Executable file
1
home_zsh/.zsh/functions/novaips
Executable 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
7
home_zsh/.zsh/functions/vpn
Executable 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue