[pve-devel] [PATCH] Replace "search" with "domain" in /etc/resolv.conf

Damien PIQUET piqudam at gmail.com
Sat Mar 9 11:01:57 CET 2013


Signed-off-by: Damien PIQUET <piqudam at gmail.com>
---
 proxinstall |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxinstall b/proxinstall
index 0b9e3b0..8bed1e6 100755
--- a/proxinstall
+++ b/proxinstall
@@ -782,7 +782,7 @@ sub extract_data {
 
 	# configure dns
 
-	my $resolfconf = "search $domain\nnameserver $dnsserver\n";
+	my $resolfconf = "domain $domain\nnameserver $dnsserver\n";
 	write_config ($resolfconf, "$targetdir/etc/resolv.conf");
 
 	# try to use UUID=XXX for boot device
-- 
1.7.10.4




More information about the pve-devel mailing list