diff options
author | Thomas Wiest <twiest@gmail.com> | 2014-10-30 16:52:44 -0400 |
---|---|---|
committer | Thomas Wiest <twiest@gmail.com> | 2014-10-30 16:52:44 -0400 |
commit | c292781afdcb57ee097f0840342b19a626d2a2c4 (patch) | |
tree | 1c1e004039a2f42730b385633462197a5c463e30 /README_GCE.md | |
parent | d57f8d6968f0b580d3201df197eda98ed5f8fe19 (diff) | |
parent | 317d20d2cd7847ac295e63015c540a882f77964e (diff) | |
download | openshift-c292781afdcb57ee097f0840342b19a626d2a2c4.tar.gz openshift-c292781afdcb57ee097f0840342b19a626d2a2c4.tar.bz2 openshift-c292781afdcb57ee097f0840342b19a626d2a2c4.tar.xz openshift-c292781afdcb57ee097f0840342b19a626d2a2c4.zip |
Merge pull request #22 from twiest/pr
cleaned up unused GCE host types, changed back to using gce.ini, and added a better ssh detection on launch.
Diffstat (limited to 'README_GCE.md')
-rw-r--r-- | README_GCE.md | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/README_GCE.md b/README_GCE.md index bac3f58b5..88f9f3a7c 100644 --- a/README_GCE.md +++ b/README_GCE.md @@ -34,18 +34,20 @@ Convert a GCE service key into a pem (for ansible) 1. Once this is done, put the original service key file (projectname-ef83bd90f261.p12) somewhere safe, or delete it (your call, I don not know what else we will use it for, and we can always regen it if needed). -Create a secrets.py file for GCE +Create a gce.ini file for GCE -------------------------------- -1. vi ~/.gce/secrets.py +1. vi ~/.gce/gce.ini 1. make the contents look like this: ``` - GCE_PARAMS = ('long...@developer.gserviceaccount.com', '/full/path/to/projectname_priv_key.pem') - GCE_KEYWORD_PARAMS = {'project': 'my_project_id'} +[gce] +gce_service_account_email_address = long...@developer.gserviceaccount.com +gce_service_account_pem_file_path = /full/path/to/projectname_priv_key.pem +gce_project_id = my_project_id ``` -1. Setup a sym link so that gce.py will pick it up (must be in same dir as gce.py) +1. Setup a sym link so that gce.py will pick it up (link must be in same dir as gce.py) ``` cd openshift-online-ansible/inventory/gce - ln -s ~/.gce/secrets.py secrets.py + ln -s ~/.gce/gce.ini gce.ini ``` |