Created
September 25, 2016 00:01
-
-
Save gertd/e77c2a5f9896584109b8dee0cb98c46d 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
#!/bin/bash | |
cat > ./internal-sc.json <<EOL | |
[ | |
{ | |
"protocol": "all", | |
"destination": "172.16.0.0/16" | |
} | |
] | |
EOL | |
cf create-security-group all-internal internal-sc.json | |
cf bind-running-security-group all-internal | |
cf bind-staging-security-group all-internal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment