a lot more work then downloading an image. You have to create your own "box" these might be helpful: www.vagrantup.com/docs/boxes/base stackoverflow.com/questions/15243405/is-it-possible-for-vagrant-to-use-an-os-iso-install-image-directly-or-create-a
@@DevOpsJourney Ah fair enough, I thought it seemed strange as there is only one machine at this stage, now I've watched the other vids I see that you add more later. Cheers.
Hey, I found out how to change the name of the vm in the virtualbox. Made a typo and via that made this discovery. vb.customize ["modifyvm", :id, "--name", 'Whatever-nameyoulike!'] Just put this in the configuraiton after the cpus and memory. it changed the default name which showed up in the provider.
Sometimes the hand pointing emoji has a mind of it's own
👈
Does config.vm.synced_folder syncs the Main OS File system directory to Vagrant File system directory?
Yup, synced folders is how to share between VM and your host system
Amazing, I have question, WHat if i already have a image, say i downloaded ubuntu 20 from official ubuntu site, how can i add it to vagrant ?
a lot more work then downloading an image. You have to create your own "box" these might be helpful:
www.vagrantup.com/docs/boxes/base
stackoverflow.com/questions/15243405/is-it-possible-for-vagrant-to-use-an-os-iso-install-image-directly-or-create-a
So how come setting the VM resource limits needs to happen in a loop?
not required, I could have set the resources manually for each machine, this was is just more efficient
@@DevOpsJourney Ah fair enough, I thought it seemed strange as there is only one machine at this stage, now I've watched the other vids I see that you add more later. Cheers.
Hey, I found out how to change the name of the vm in the virtualbox. Made a typo and via that made this discovery.
vb.customize ["modifyvm", :id, "--name", 'Whatever-nameyoulike!']
Just put this in the configuraiton after the cpus and memory. it changed the default name which showed up in the provider.
Спасибо