Created
October 29, 2014 23:04
-
-
Save igable/cd1cde9a552c4ac6dce0 to your computer and use it in GitHub Desktop.
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
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