Git Product home page Git Product logo

Comments (7)

purpleidea avatar purpleidea commented on September 18, 2024

@pschiffe The /etc/hosts automagic happens in this section:

https://github.com/purpleidea/oh-my-vagrant/blob/master/vagrant/Vagrantfile#L835

It uses a modified version of the hostmanager plugin, since the upstream isn't very responsive.
https://github.com/purpleidea/vagrant-hostmanager/tree/feat/extras

In fact, I'd have to look through this code, but you might be interested in what happens here:

purpleidea/vagrant-hostmanager@f087051

But you'd have to provide a but more info into what's breaking because I'm still too sleepy to think about DNS issues atm ;)

Cheers!

from oh-my-vagrant.

pschiffe avatar pschiffe commented on September 18, 2024

@purpleidea Ah! So this is fixed in the patched version of vagrant-hostmanager. I'm being amateur was using unmodified version of this plugin. Thanks!

But now I see another curious line in the /etc/hosts file:

[vagrant@omv1 ~]$ cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

## vagrant-hostmanager-start
192.168.124.100 omv1.example3.com   omv1
192.168.124.3   omv.example3.com    omv
## vagrant-hostmanager-end

I'm using like most basic omv.yaml file, but I don't know what is the 192.168.124.3 omv.example3.com omv line?

from oh-my-vagrant.

purpleidea avatar purpleidea commented on September 18, 2024

@pschiffe No problem :)

The extra line is a bonus "DNS" entry for a VIP when needed by the cluster... It turns out it's convenient to have that from time to time, so it's a little developer bonus. Since it doesn't usually hurt to have it there, you get it for free... Want to write an FAQ item about it? https://github.com/purpleidea/oh-my-vagrant/blob/master/DOCUMENTATION.md#usage-and-frequently-asked-questions

Cheers,
James

from oh-my-vagrant.

pschiffe avatar pschiffe commented on September 18, 2024

I see, thanks.

from oh-my-vagrant.

purpleidea avatar purpleidea commented on September 18, 2024

Want to write an FAQ item about it?

from oh-my-vagrant.

pschiffe avatar pschiffe commented on September 18, 2024

I still don't understand it properly. I get that it's not a bug, but that's all. I don't know what VIP means, where it points to and what uses it..

from oh-my-vagrant.

purpleidea avatar purpleidea commented on September 18, 2024

On Mon, Aug 24, 2015 at 8:02 AM, Peter Schiffer [email protected]
wrote:

I still don't understand it properly. I get that it's not a bug, but
that's all. I don't know what VIP means, where it points to and what uses
it..

VIP means virtual ip. It's an extra IP that is reserved on each host, by
default unused, comes with DNS via /etc/hosts and can be used by the
developer for any purpose they want. That's all.

from oh-my-vagrant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.