Kashyap & Asif | Added the correct private keys in config and corrected a check to get it to compile, spawn is working

This commit is contained in:
Kashyap Kopparam 2014-08-06 05:54:47 +00:00
parent 3d56e9e987
commit 0d47ccaef2
3 changed files with 8 additions and 7 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.pyc

View File

@ -126,7 +126,7 @@ class EC2Driver(driver.ComputeDriver):
self.reservation = self.ec2_conn.get_all_reservations()
if not _EC2_NODES:
if not '_EC2_NODES' in globals():
set_nodes([CONF.host])
def init_host(self, host):

View File

@ -15,11 +15,11 @@
#This is the config file which is going to hold the values for being able to connect to the AWS Public cloud.
aws_region = "us-west-2"
aws_access_key_id = "AKIAIEIFSFGXCVJQG23Q"
aws_secret_access_key = "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"
aws_region = "us-east-1"
aws_access_key_id = "AKIAIZJDDRNNJUWZ3LXA"
aws_secret_access_key = "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"
aws_ami = 'ami-def297ee'
instance_type = 't1.micro'
aws_ami = "ami-864d84ee"
instance_type = "t2.micro"
instance_map = {}
instance_map = {}