summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-02-05 15:14:16 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-02-05 15:14:16 +0000
commit09cec2ad220529b3c67db67d5308b868f964d76d (patch)
tree42c25f619a07fb27be3100196bd000bd4025e027
parent816875ca1bd01078fcd617468775a2093781629d (diff)
downloaddrakwizard-09cec2ad220529b3c67db67d5308b868f964d76d.tar
drakwizard-09cec2ad220529b3c67db67d5308b868f964d76d.tar.gz
drakwizard-09cec2ad220529b3c67db67d5308b868f964d76d.tar.bz2
drakwizard-09cec2ad220529b3c67db67d5308b868f964d76d.tar.xz
drakwizard-09cec2ad220529b3c67db67d5308b868f964d76d.zip
use dnsdomainename instead of domainname
-rw-r--r--pxe_wizard/Pxe.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pxe_wizard/Pxe.pm b/pxe_wizard/Pxe.pm
index 977b17c1..48aa7d4b 100644
--- a/pxe_wizard/Pxe.pm
+++ b/pxe_wizard/Pxe.pm
@@ -51,7 +51,7 @@ my $XINETDDIR = "/etc/xinetd.d";
my $interface = 'eth0';
my ($IPSERVER) = `/sbin/ip addr show dev $interface` =~ /^\s*inet\s+(\d+\.\d+\.\d+\.\d+)/m;
#my $DOMAINNAME = $wiz->{net}->network_get("DOMAINNAME");
-my $DOMAINNAME = chomp_(`domainname`);
+my $DOMAINNAME = chomp_(`dnsdomainname`);
my $o = {