laravel 4 - vagrant: how to add GUI to vagrant by modifying Vagrantfile? -


i need see gui when "vagrant --provision" because believe box shutdown improperly , time-outs when try start it. see [documentation] can add block vagrantfile enable me debug startup process. this post says if system shutdown improperly ask me if want boot in safe mode (only visible gui). trying modify vagrantfile , have tried 2 ways (i'm not familiar ruby or modifying config files). when try this:

vagrantfile_api_version = "2"  path = "#{file.dirname(__file__)}"  require 'yaml' require path + '/scripts/homestead.rb'  vagrant.configure(vagrantfile_api_version) |config|    homestead.configure(config, yaml::load(file.read(path + '/homestead.yaml')))  config.vm.provider "virtualbox" |v|   vb.gui = true end  end 

i following error message:

path: <provider config: virtualbox> message: undefined local variable or method `vb' main:object 

could please tell me doing wrong? how modify file can vagrant box , running again. trying use homestead laravel, way. thank much!


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -