Created
October 26, 2016 13:55
-
-
Save jnikolak/c5987c7bf2a1c6fc0718189c70c60eee 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
hammer host list --search "yourdomain.com" --per-page 100|grep yourEnvName|awk '{print $1}'|while read i; do hammer host update --id $i --domain-id 1 --subnet-id 1 --medium-id 7 --operatingsystem-id 2 --partition-table-id 13; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment