summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 = {