commit | 29c287ffea52cb16872f8037348eda2fd008c9dd | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Thu Apr 11 21:07:16 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Thu Apr 11 21:07:16 2013 -0400 |
tree | 8f6ac5589f9319c9e2d80c557b4f459a45fae7cb | |
parent | 4bc09f221dd8e45c934623ee1d76fb5ffbf7580d [diff] |
merge latest code
diff --git a/plstackapi/openstack/driver.py b/plstackapi/openstack/driver.py index 8b475de..8817990 100644 --- a/plstackapi/openstack/driver.py +++ b/plstackapi/openstack/driver.py
@@ -195,7 +195,8 @@ image_id = images[0]['id'] hints = {} if hostname: - hints['force_hosts']= hostname + #hints['force_hosts']= hostname + hints['availability-zone'] = 'nova:%s' % hostname server = self.shell.nova.servers.create( name=name, key_name = key_name,