Created
November 16, 2014 01:16
-
-
Save cowlicks/1fdbd0f1a14dfde88e55 to your computer and use it in GitHub Desktop.
Script for doing some management task on an ipython cluster.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
scp -r 10.7.0.121:~/.ipython/profile_default ~/profile_default | |
sed -i 's/"ssh": "",/"ssh": "10.7.0.121",/g' ~/profile_default/security/ipcontroller-client.json | |
rm -rf ~/.ipython/profile_default.bak | |
mv ~/.ipython/profile_default ~/.ipython/profile_default.bak | |
mv ~/profile_default ~/.ipython |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment