MISC: Cleanup up unnecessary formating and style changes in the code to make the difference as minimal as possible.

This commit is contained in:
John Ericson 2018-07-20 09:46:21 +02:00
parent 7429e861e7
commit e539835154
5 changed files with 4 additions and 8 deletions

View File

@ -34,7 +34,7 @@ module VagrantPlugins
end
end
end
# If we already configured previously don't prompt for switch
sentinel = env[:machine].data_dir.join("action_configure")

View File

@ -100,6 +100,7 @@ module VagrantPlugins
"DisksToCreate" => disks_to_create_json,
}
env[:ui].detail("Creating and registering the VM...")
server = env[:machine].provider.driver.import(options)
@ -107,7 +108,6 @@ module VagrantPlugins
env[:machine].id = server["id"]
@app.call(env)
end
end
end
end

View File

@ -48,7 +48,7 @@ module VagrantPlugins
attr_accessor :vm_integration_services
# @return [Array] Config of disks and controllers
attr_accessor :controllers
def initialize
@ip_address_timeout = UNSET_VALUE
@memory = UNSET_VALUE

View File

@ -241,8 +241,7 @@ module VagrantPlugins
notify: [:stdout, :stderr, :stdin],
module_path: mod_path
}
#puts "execute_powershell: options: #{ps_options}"
Vagrant::Util::PowerShell.execute(path, *ps_options, **opts, &block)
end
end

View File

@ -79,6 +79,3 @@ if ($DisksToCreate) {
$ParsedDisksToCreate | ForEach-Object { AddDisks -vm $VMName -controller $_ }
}