[Ovirt-devel] [PATCH] update dhclient.conf location for fedora 11

Jason Guiditta jguiditt at redhat.com
Wed Jul 29 19:04:29 UTC 2009


On Tue, 2009-07-28 at 16:27 -0400, Joey Boggs wrote:
> ---
>  installer/modules/ovirt/manifests/dns.pp |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/installer/modules/ovirt/manifests/dns.pp b/installer/modules/ovirt/manifests/dns.pp
> index 7709cbf..7c867cc 100644
> --- a/installer/modules/ovirt/manifests/dns.pp
> +++ b/installer/modules/ovirt/manifests/dns.pp
> @@ -55,14 +55,14 @@ define dns::common($guest_ipaddr="", $admin_ipaddr="",$guest_dev="",$admin_dev="
>          notify => Service[dnsmasq]
>      }
>  
> -    file {"/etc/dhclient.conf":
> +    file {"/etc/dhcp/dhclient.conf":
>          ensure => present
>      }
>  
>      file_append {"dhclient_config":
> -        file => "/etc/dhclient.conf",
> +        file => "/etc/dhcp/dhclient.conf",
>          line => "prepend domain-name-servers $admin_ipaddr;",
> -        require => [Single_exec["set_hostname"], Package["dnsmasq"], File["/etc/dhclient.conf"]]  ,
> +        require => [Single_exec["set_hostname"], Package["dnsmasq"], File["/etc/dhcp/dhclient.conf"]]  ,
>          notify => Service[dnsmasq],
>      }
>  
ACK, moving this file fixed the issue I was seeing where resolv.conf on
the wui server was not including the admin network.




More information about the ovirt-devel mailing list