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
#!/bin/bash | |
for vm in $(virsh list --state-running --name); do | |
echo -n "$vm " | |
arp | grep $(virsh domiflist $vm | sed '/^$/d' | tail -n1 | awk '{ print $NF}') | awk '{ print $1 }' | |
done | |
# $ script.sh | |
# vm1 192.168.1.100 | |
# vm2 192.168.1.101 |
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
https://aws.amazon.com/security/security-bulletins/CVE-2014-3566-advisory/ | |
says to go into the web interface and change SSL negotiation settings. | |
What if you have hundreds of ELBs to change? NO BUENO. | |
Here's how to do it using the CLI tools: | |
# List Existing Policies | |
aws elb describe-load-balancer-policies --load-balancer-name $ELBNAME --output text | grep POLICYDESCRIPTIONS |