lib/cloudstack-cli/commands/stack.rb in cloudstack-cli-1.5.0 vs lib/cloudstack-cli/commands/stack.rb in cloudstack-cli-1.5.1

- old
+ new

@@ -20,22 +20,23 @@ else options.merge!({ name: name, displayname: instance["decription"], zone: instance["zone"] || stack["zone"], + project: stack["project"], template: instance["template"], iso: instance["iso"] , offering: instance["offering"], networks: load_string_or_array(instance["networks"]), - project: stack["project"], + ip_network_list: instance["ip_network_list"], disk_offering: instance["disk_offering"], size: instance["disk_size"], group: instance["group"] || stack["group"], keypair: instance["keypair"] || stack["keypair"], - ip_address: instance["ip_address"], + ip_address: instance["ip_address"] }) - + jobs << { id: client.deploy_virtual_machine( vm_options_to_params, {sync: true} )['jobid'], @@ -121,8 +122,9 @@ end def string_to_array(string) string ? string.gsub(', ', ',').split(',') : nil end - end + + end # no_commands end