vagrant针对vb5.0的修改[z]

Step 1: Copy the version_4_3.rb file in %vagrant_install_dir%embeddedgemsgemsvagrant-1.7.2pluginsprovidersvirtualboxdriver to version_5_0.rb and edit the class name of the copied file to be "version_5_0"

Step 2: Modify the "meta.rb" file in the virtualboxdriver folder by adding ,5.0" => Version_5_0 to the driver_map hashmap (line 48).

Step 3: Modify the plugin.rb file in the providersvirtualbox directory (up one directory from where we were) and add the following line under line 47: autoload :Version_5_0, File.expand_path("../driver/version_5_0", __FILE__)

You're done.

原文地址:https://www.cnblogs.com/wishing/p/4636416.html