Last active
April 24, 2019 16:24
-
-
Save 4383/dc9ec8b4f6ce17789d41cead2f15f78b to your computer and use it in GitHub Desktop.
patch code from review
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 el in $(ls /var/log/containers); do cp -v /var/log/containers/nova/impl_rabbit.py /var/log/containers/${el}; done | |
for el in $(infect_who_use_oslo messaging); do \ | |
name=$(echo $el | awk -F "_" '{print $1}'); \ | |
echo -e "patch ${name}\n"; \ | |
docker exec -it --user root ${el} cp /var/log/${name}/impl_rabbit.py /usr/lib/python2.7/site-packages/oslo_messaging/_drivers; \ | |
docker restart ${el}; \ | |
done | |
curl -4 https://review.opendev.org/changes/643056/revisions/current/patch?download | base64 -d | sudo patch -p1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment