Shell…

Here’s todays bit of hackery:

[headnode:~/Desktop] root# foreach i ( 002 003 004 005 006 007 008 009 010 )
foreach? scp /common/node/authorized_keys node${i}:/var/root/.ssh/authorized_keys
foreach? scp /etc/hosts node${i}:/etc/hosts
foreach? scp node.tar node${i}:
foreach? ssh node${i} tar xvf node.tar \; installer -pkg Node.mpkg -target /
foreach? end

Type the password a few times, and voila: Instacluster.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

This site uses Akismet to reduce spam. Learn how your comment data is processed.