vagrant box packaged on mac cann't be init on windows -


  • first of all, have setted whole developing environment on mac vagrant environment
  • second, run vagrant package generated box named package.box on mac stay vagrantfile
  • third, copy package.box windows environment
  • running vagrant init tolerious package.box command, run vagrant up,but got error follows, enter image description here

i have checked vagrant global-status output, there valid id displayed in list. , run commandvagrant box list, there valid box added successfully. has ideas error?

i have found answer own question, reason this: packaged environment on mac, , mac 64-bit, windows system 32-bit, can't work properly. must add such lines in vagrantfile:

config.vm.provider "virtualbox" |vb| # # display virtualbox gui when booting machine vb.gui = false vb.customize [ 'modifyvm', :id, "--hwvirtex", "off", '--cpus', 1, '--memory', 800, '--nicpromisc2', 'allow-all'] # # # customize amount of memory on vm: # vb.memory = "1024" end


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -