Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Hard coded IP address #105

Open
bartonski opened this issue Jul 12, 2016 · 3 comments
Open

Hard coded IP address #105

bartonski opened this issue Jul 12, 2016 · 3 comments

Comments

@bartonski
Copy link
Contributor

The hard coded IP address is inflexible: can't run two devboxes on the same machine without editing the vagrantfile of one.

At the very least, we could replace

config.vm.network "private_network", ip: "192.168.50.11"

with

config.vm.network "private_network", type: "dhcp"

which would take care of the hard coded IP address itself. Ideally, I'd like the option of using a bridged network adapter and making the devbox accessible from my local network.

@boutros
Copy link
Member

boutros commented Sep 1, 2016

I find the hardcoded IP quite nice, as I can bookmark it, and don't have to look for it everytime i boot the devbox.

@bartonski
Copy link
Contributor Author

boutros,

If the network stays set as "private_network", the IP address will be assigned by DHCP hosted on your local computer. This will, in all likelihood, stay the same every time you bring up kohadevbox. The first time you log into kohadevbox using vagrant ssh, you should be able to find the ip address by running ip addr. You can then bookmark that address.

@boutros
Copy link
Member

boutros commented Sep 14, 2016

Yes, It's easy enough to find, just a minor inconvenience. It's no big deal for me. Go ahead :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants