lib/vagrant-vultr/action/create.rb in vagrant-vultr-0.1.2 vs lib/vagrant-vultr/action/create.rb in vagrant-vultr-0.1.3

- old
+ new

@@ -16,21 +16,36 @@ def call(env) region = env[:machine].provider_config.region plan = env[:machine].provider_config.plan os = env[:machine].provider_config.os snapshot = env[:machine].provider_config.snapshot + enable_ipv6 = env[:machine].provider_config.enable_ipv6 + enable_private_network = env[:machine].provider_config.enable_private_network + label = env[:machine].provider_config.label + tag = env[:machine].provider_config.tag + hostname = env[:machine].provider_config.hostname @logger.info "Creating server with:" @logger.info " -- Region: #{region}" @logger.info " -- OS: #{os}" @logger.info " -- Plan: #{plan}" @logger.info " -- Snapshot: #{snapshot}" + @logger.info " -- Enable IPv6: #{enable_ipv6}" + @logger.info " -- Enable Private Network: #{enable_private_network}" + @logger.info " -- Label: #{label}" + @logger.info " -- Tag: #{tag}" + @logger.info " -- Hostname: #{hostname}" attributes = { region: region, os: os, plan: plan, snapshot: snapshot, + enable_ipv6: enable_ipv6, + enable_private_network: enable_private_network, + label: label, + tag: tag, + hostname: hostname, ssh_key_name: Action::SetupSSHKey::NAME } @machine.id = @client.create_server(attributes) env[:ui].info 'Waiting for subcription to become active...'