Permalink
Browse files

Add OpenStack Package Compiler

Change-Id: Ibcd280db27b2d9ff5efc98a0542908345db73005
  • Loading branch information...
1 parent 72c1099 commit ef53d6aba988d1d355eb1122d26c08d35acb578b @frodenas frodenas committed Jul 26, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −1 package_compiler/bin/package_compiler
  2. +2 −0 package_compiler/lib/package_compiler/compiler.rb
@@ -10,7 +10,7 @@ $:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib")))
require "trollop"
require "package_compiler"
-CPIS = %w[aws vsphere]
+CPIS = %w[aws openstack vsphere]
COMMANDS = %w[apply compile]
def usage(msg=nil)
@@ -108,6 +108,8 @@ def prep_spec(deployment)
spec["networks"] = {"local" => {"ip" => "127.0.0.1"}}
when "aws"
spec["networks"] = {"type" => "dynamic"}
+ when "openstack"
+ spec["networks"] = {"type" => "dynamic"}
else
puts "WARNING: no CPI specified"
end

0 comments on commit ef53d6a

Please sign in to comment.