How to find the Vagrant IP?

前端 未结 12 1445
余生分开走
余生分开走 2021-01-30 08:17

I have been developing an automated deployment using Capistrano and using Vagrant as my test virtual server.

The thing is, I need the IP of Vagrant to \"ssh

12条回答
  •  没有蜡笔的小新
    2021-01-30 09:09

    We are using VirtualBox as a provider and for the virtual box, you can use VBoxManage to get the IP address

    VBoxManage guestproperty get  /VirtualBox/GuestInfo/Net/1/V4/IP
    

提交回复
热议问题