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
}

--
Mailing list: https://launchpad.net/~canonical-ci-engineering
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~canonical-ci-engineering
More help   : https://help.launchpad.net/ListHelp

Reply via email to