Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtual ip will be config in /etc/hosts, if config /etc/hosts vip will in fqdn ip list #24

Open
edwin--zhao opened this issue Dec 26, 2017 · 1 comment

Comments

@edwin--zhao
Copy link

edwin--zhao commented Dec 26, 2017

When I use keepalived , the interface have more then one ip address, if use network.ip_addrs we will get all ips , so virtual ips will be config to /etc/hosts, I change the mine function and sls , use network.interface_ip to get one ip address. I hope fqdn keep only one ip address.

If anyone have the same problems with me, you can refer to my practice, if most people don't want to virtual IP become the FQDN, we may consider to submit PR

@mdschmitt
Copy link

Closable. The minealias pillar value exists to allow for this.

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

No branches or pull requests

2 participants