Created
September 21, 2012 17:40
-
-
Save drsnyder/3762856 to your computer and use it in GitHub Desktop.
remove old mount from fstab
This file contains hidden or 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
| for box in `cat serverlist | awk '{ print $1 }' | pcregrep 'app|utility|batch' | sed "s/.huddler.com//g"`; do | |
| echo "**** $box ***"; | |
| ssh $box 'sudo sed -i "/10.36.176.90:\/huddler\/image001/d" /etc/fstab'; | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment