mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-09 08:42:18 -04:00
Update check for provider_config availability
This commit is contained in:
parent
a279f89d29
commit
ae0fb6f857
1 changed files with 2 additions and 2 deletions
|
|
@ -144,8 +144,8 @@ module VagrantPlugins
|
|||
machine.ui.detail(I18n.t("vagrant.cap.configure_disks.create_disk", name: disk_config.name))
|
||||
disk_provider_config = {}
|
||||
disk_provider_config = disk_config.provider_config[:hyperv] if disk_config.provider_config
|
||||
|
||||
if disk_provider_config
|
||||
# Convert any shortcut options for powershell commands
|
||||
if !disk_provider_config.empty?
|
||||
disk_provider_config = convert_size_vars!(disk_provider_config)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue