Skip to content

Instantly share code, notes, and snippets.

@drsnyder
Created September 21, 2012 17:40
Show Gist options
  • Select an option

  • Save drsnyder/3762856 to your computer and use it in GitHub Desktop.

Select an option

Save drsnyder/3762856 to your computer and use it in GitHub Desktop.
remove old mount from fstab
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