Skip to content

Instantly share code, notes, and snippets.

@igable
Created October 29, 2014 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igable/cd1cde9a552c4ac6dce0 to your computer and use it in GitHub Desktop.
Save igable/cd1cde9a552c4ac6dce0 to your computer and use it in GitHub Desktop.
for i in `seq 11 15`;
do
b=`expr $i - 10`;
knife node attribute set sc$b.3115.sc14.org mellanox.port1.ip "10.0.0.$i";
done
for i in `seq 11 15`;
do
b=`expr $i - 10`;
knife node attribute set sc$b.3115.sc14.org mellanox.port2.ip "10.0.1.$i";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment