You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: vm.rb
    path of file: ./repos/vagrant/plugins/kernel_v2/config
    
    the code of the file until where you have to start completion: # Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1

require "pathname"
require "securerandom"
require "set"

require "vagrant"
require "vagrant/action/builtin/mixin_synced_folders"
require "vagrant/config/v2/util"
require "vagrant/util/platform"
require "vagrant/util/presence"
require "vagrant/util/experimental"
require "vagrant/util/map_command_optio
    
      def disk(type, **options, &block)
        disk_config = VagrantConfigDisk.new(type)

        # Remove provider__option options before set_options, otherwise will
        # show up as missing setting
        # Extract provider hash options as well
        provider_options = {}
        options.delete_if do |p,o|
          if o.is_a?(Hash) || p.to_s.include?("__")
            provider_options[p] = o
            true
          end
        end