canonical-ci-engineering team mailing list archive
-
canonical-ci-engineering team
-
Mailing list archive
-
Message #00545
handy bashrc alias for sshuttle
I find myself always having to look up my juju boostrap node and run
sshuttle to connect to it. Thought I'd share my bash alias that makes it
simple for me:
function sshuttle_lcy02 ()
{
source $HOME/.canonistack/novarc_lcy02
ip=$(euca-describe-instances | grep juju-opens | awk '{print $(NF-1)}'
| tail -n1)
sshuttle -r ubuntu@$ip 10.55.0.0/16
}
Follow ups