I uploaded to Chef server's tmp directory my nodes files and ran the following script.
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
#!/bin/bash | |
for i in /tmp/* | |
do | |
knife node from file $i | |
done |
It is simple!
No comments:
Post a Comment