Use correct disk extension formats for Hyper-V

This commit is contained in:
Brian Cain 2020-03-30 14:10:33 -07:00
parent cf47e7ecaf
commit 8dfa1affdf
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0

View File

@ -6,8 +6,8 @@ module VagrantPlugins
module ValidateDiskExt
LOGGER = Log4r::Logger.new("vagrant::plugins::hyperv::validate_disk_ext")
# The default set of disk formats that VirtualBox supports
DEFAULT_DISK_EXT = ["vdi", "vmdk", "vhd"].map(&:freeze).freeze
# The default set of disk formats that Hyper-V supports
DEFAULT_DISK_EXT = ["vhd", "vhdx"].map(&:freeze).freeze
# @param [Vagrant::Machine] machine
# @param [String] disk_ext