Skip to content

Commit

Permalink
fixed security groups for openstack
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Howe committed Jan 13, 2014
1 parent cd8f930 commit 6f99623
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/ironfan/provider/openstack/machine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,7 @@ def self.launch_description(computer)
:name => computer.name,
}

# VPC security_groups can only be addressed by id (not name)
description[:security_group_ids] = cloud.security_groups.keys.map do |g|
g
end
description[:security_groups] = cloud.security_groups.keys

#description[:iam_server_certificates] = cloud.iam_server_certificates.values.map do |cert|
# IamServerCertificate.recall(IamServerCertificate.full_name(computer, cert))
Expand Down

0 comments on commit 6f99623

Please sign in to comment.