Skip to content

Instantly share code, notes, and snippets.

@tasdomas
Created June 5, 2015 13:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tasdomas/5f4fd3e1e96e0ff81714 to your computer and use it in GitHub Desktop.
Save tasdomas/5f4fd3e1e96e0ff81714 to your computer and use it in GitHub Desktop.
juju-local-mongo
#! /bin/bash
mongo 127.0.0.1:37017/admin --ssl --username "admin" --password "`sudo grep oldpassword ~/.juju/local/agents/machine-0/agent.conf | cut -d' ' -f2`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment