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 stayvagrantfile
- third, copy
package.box
windows environment - running
vagrant init tolerious package.box
command, runvagrant up
,but got error follows,
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
Post a Comment