Last active
October 11, 2017 18:41
-
-
Save mccun934/3558d3506938880cbbc0b8fe18267d93 to your computer and use it in GitHub Desktop.
bulk resync all library repos via hammer
This file contains hidden or 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
echo "select id from katello_repositories where url is not null" | sudo -u postgres psql -t -d foreman | | xargs -n1 -I arg1 -P 3 hammer repository synchronize --validate-contents yes --id arg1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment