Vagrant network collides with a non-hostonly network

前端 未结 5 1115
陌清茗
陌清茗 2021-02-18 23:53

I am trying to get a vagrant box up and running, but I keep getting network collide errors. This box is a fresh download of trusty64. I have been searching every file and folder

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-19 00:33

    I had the same issue when I was working from home so what I did on my Vagrantfile was:

    # app.vm.network :private_network, ip: '10.0.0.07' # work
      app.vm.network :private_network, ip: '192.168.56.77' # home
    

    and I comment/uncomment depending on where I am.

提交回复
热议问题