Vagrant 101 - Advanced Options

Поділитися
Вставка
  • Опубліковано 11 жов 2024

КОМЕНТАРІ • 10

  • @DevOpsJourney
    @DevOpsJourney  4 роки тому +3

    Sometimes the hand pointing emoji has a mind of it's own
    👈

  • @mrarul1694
    @mrarul1694 3 роки тому +1

    Does config.vm.synced_folder syncs the Main OS File system directory to Vagrant File system directory?

    • @DevOpsJourney
      @DevOpsJourney  3 роки тому +2

      Yup, synced folders is how to share between VM and your host system

  • @mrarul1694
    @mrarul1694 3 роки тому +1

    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 ?

    • @DevOpsJourney
      @DevOpsJourney  3 роки тому +1

      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

  • @rogerheathcote3062
    @rogerheathcote3062 3 роки тому

    So how come setting the VM resource limits needs to happen in a loop?

    • @DevOpsJourney
      @DevOpsJourney  3 роки тому +1

      not required, I could have set the resources manually for each machine, this was is just more efficient

    • @rogerheathcote3062
      @rogerheathcote3062 3 роки тому

      @@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.

  • @aritra1414
    @aritra1414 3 роки тому +3

    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.

  • @76739
    @76739 2 роки тому

    Спасибо