MISC: Cleanup up unnecessary formating and style changes in the code to make the difference as minimal as possible.
This commit is contained in:
parent
7429e861e7
commit
e539835154
|
@ -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")
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -79,6 +79,3 @@ if ($DisksToCreate) {
|
|||
$ParsedDisksToCreate | ForEach-Object { AddDisks -vm $VMName -controller $_ }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue