kernel/v2: fix validation on checksum types
This commit is contained in:
parent
832a5ef70b
commit
e83070371d
|
@ -270,6 +270,9 @@ module VagrantPlugins
|
|||
@hostname = nil if @hostname == UNSET_VALUE
|
||||
@hostname = @hostname.to_s if @hostname
|
||||
|
||||
# Make sure that the download checksum is a string and that
|
||||
# the type is a symbol
|
||||
@box_download_checksum = "" if !@box_download_checksum
|
||||
if @box_download_checksum_type
|
||||
@box_download_checksum_type = @box_download_checksum_type.to_sym
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue