lib/vagrant-conoha/client/nova.rb in vagrant-conoha-0.1.0 vs lib/vagrant-conoha/client/nova.rb in vagrant-conoha-0.1.1

- old
+ new

@@ -64,9 +64,12 @@ else s['imageRef'] = options[:image_ref] end s['flavorRef'] = options[:flavor_ref] s['key_name'] = options[:keypair] + + + s['adminPass'] = options[:admin_pass] unless options[:admin_pass].nil? || options[:admin_pass].empty? s['availability_zone'] = options[:availability_zone] unless options[:availability_zone].nil? s['security_groups'] = options[:security_groups] unless options[:security_groups].nil? s['user_data'] = Base64.encode64(options[:user_data]) unless options[:user_data].nil? s['metadata'] = options[:metadata] unless options[:metadata].nil? s['networks'] = options[:networks] unless options[:networks].nil? || options[:networks].empty?