move dirs

This commit is contained in:
bt3 2018-06-17 21:54:40 -07:00
parent 0402a432cf
commit 9fac338a27
6 changed files with 1 additions and 0 deletions

7
gcloud/get_public_ips.sh Normal file
View file

@ -0,0 +1,7 @@
#!/bin/bash
for x in $(gcloud projects list | tail -n +2 | awk '{ print $1}');
do
ip_list=$(gcloud compute instances list --project $x --format json)
gcloud compute instances list --project $x --format json | jq -r '.[] | .networkInterfaces[] | .accessConfigs[] | .natIP';
done