Skip to content

Commit

Permalink
GCE. replace underscores (trailofbits#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunph1ld authored and Yuhui Huang committed Oct 23, 2018
1 parent 4643983 commit 377f4f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion algo
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ Please choose the number of your zone. Press enter for default (#14) zone.
esac

ROLES="gce vpn cloud"
EXTRA_VARS="credentials_file=$credentials_file server_name=$server_name ssh_public_key=$ssh_public_key zone=$zone max_mss=1316"
EXTRA_VARS="credentials_file=$credentials_file gce_server_name=$server_name ssh_public_key=$ssh_public_key zone=$zone max_mss=1316"
}

non_cloud () {
Expand Down
1 change: 1 addition & 0 deletions roles/cloud-gce/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- set_fact:
service_account_email: "{{ credentials_file_lookup.client_email | default(lookup('env','GCE_EMAIL')) }}"
project_id: "{{ credentials_file_lookup.project_id | default(lookup('env','GCE_PROJECT')) }}"
server_name: "{{ gce_server_name | replace('_', '-') }}"

- name: Network configured
gce_net:
Expand Down

0 comments on commit 377f4f3

Please sign in to comment.