Comments (7)
@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.
@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.
@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.
I see, thanks.
from oh-my-vagrant.
Want to write an FAQ item about it?
from oh-my-vagrant.
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.
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)
- /etc/hosts is not updated on vdestroy HOT 3
- omv --version reports version of Vagrant and not of omv itself HOT 1
- add port forwarding to omv.yaml HOT 2
- [bug] shell script seems broken HOT 2
- Not parseable Vagrantfile in 0.0.31 HOT 5
- Add a new share type for NFSv4
- RFE: Add the ability for the user to specifiy a list of shares
- When using atomic host as guest, second iface won't come up automatically HOT 11
- [RFE] Ability to configure various libvirt provisioner parameters HOT 5
- How to define shell script in `omv.yaml` HOT 2
- goern, send a patch! HOT 2
- Oh-my-vagrant should consider using official CentOS vagrant box from CentOS community HOT 3
- I should be able to use https://atlas.hashicorp.com/ with omv HOT 4
- Need to put some documentation on why we need patched version of vagrant-hostmanager plugin HOT 3
- Fedora naming schema lead to unidentified atomic host HOT 1
- Ansible runs N number of times (where N=vms.size) HOT 2
- Do not try to unsubscribe uninitialized machines HOT 2
- puppet repos by default HOT 1
- /etc/hosts entry for omv HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oh-my-vagrant.