Mailinglist Archive: yast-commit (1771 mails)

< Previous Next >
[yast-commit] r58485 - /trunk/network/src/lan/YaPI/NETWORK.pm
  • From: mzugec@xxxxxxxxxxxxxxxx
  • Date: Thu, 03 Sep 2009 10:16:11 -0000
  • Message-id: <E1Mj9MR-0004xm-IT@xxxxxxxxxxxxxxxx>
Author: mzugec
Date: Thu Sep 3 12:16:10 2009
New Revision: 58485

URL: http://svn.opensuse.org/viewcvs/yast?rev=58485&view=rev
Log:

YaPI: for dns use lists instead of string

Modified:
trunk/network/src/lan/YaPI/NETWORK.pm

Modified: trunk/network/src/lan/YaPI/NETWORK.pm
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/YaPI/NETWORK.pm?rev=58485&r1=58484&r2=58485&view=diff
==============================================================================
--- trunk/network/src/lan/YaPI/NETWORK.pm (original)
+++ trunk/network/src/lan/YaPI/NETWORK.pm Thu Sep 3 12:16:10 2009
@@ -30,8 +30,8 @@
'eth0'=>{'bootproto'=>'dhcp'},
'eth1'=>{'bootproto'=>'static',
'ipaddr'=>'192.168.3.27/24'}},
'routes'=>{'default'=>{'via'=>Routing->GetGateway()}},
-# 'routes'=>{'default'=>Routing->GetGateway()},
- 'dns'=>{'dnsservers'=>join(' ', @{DNS->nameservers}),
'dnsdomains'=>join(' ', @{DNS->searchlist})},
+# 'dns'=>{'dnsservers'=>join(' ', @{DNS->nameservers}),
'dnsdomains'=>join(' ', @{DNS->searchlist})},
+ 'dns'=>{'dnsservers'=>\@{DNS->nameservers},
'dnsdomains'=>\@{DNS->searchlist}},
'hostname'=>{'name'=>DNS->hostname, 'domain'=>DNS->domain}
);


--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages