码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-07-10 18:46:34      阅读:111      评论:0      收藏:0      [点我收藏+]

标签:

Step 1: Copy the version_4_3.rb file in %vagrant_install_dir%\embedded\gems\gems\vagrant-1.7.2\plugins\providers\virtualbox\driver 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 virtualbox\driver folder by adding ,5.0" => Version_5_0 to the driver_map hashmap (line 48).

Step 3: Modify the plugin.rb file in the providers\virtualbox 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.

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

标签:

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!