I have setup an Ubuntu guest using KVM on a centos 7 host. I am have it setup on a bridge and everything is working until I reboot. I found this post viewtopic.php?t=26562 which helped to resolve my DNS issue on my ubuntu guest, however it does not survive a reboot. I have to run # sysctl -p /etc/sysctl.conf to resolve whenever the host is rebooted. Guest survives a reboot just fine.
Any help on how I can make this persistent would be greatly appreciated.
KVM and Guest DNS
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: KVM and Guest DNS
I admit that I didn't check the previously mentioned thread.
You have 2 locations to set such parameters:
1. Conf file in '/etc/sysctl.d/
2. Tunable profile for tuned
Keep in mind that if you set an option in point 1, it can be overwritten by point 2.
So, check if your machine uses tuned, which profile is loaded and if there is such option in it.
You have 2 locations to set such parameters:
1. Conf file in '/etc/sysctl.d/
2. Tunable profile for tuned
Keep in mind that if you set an option in point 1, it can be overwritten by point 2.
So, check if your machine uses tuned, which profile is loaded and if there is such option in it.