-Fix multiwide blade rcons

Have ddns delete TXT records for DHCP to avoid confusion

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-09-27 20:21:39 +00:00
parent 92ebc7a796
commit 3cac50a3bc
2 changed files with 5 additions and 0 deletions

View File

@ -654,6 +654,10 @@ sub find_nameserver_for_dns {
push @rrcontent,"$name IN A $_";
}
}
if ($ctx->{deletemode}) {
push @rrcontent,"$name TXT";
push @rrcontent,"$name A";
}
if ($zone =~ /IN-ADDR.ARPA/) { #reverse style
@rrcontent = ("$rname IN PTR $name");
}

View File

@ -86,6 +86,7 @@ sub getans {
$mm = $rsp->{node}->[0]->{mm}->[0];
$username = $rsp->{node}->[0]->{username}->[0];
$slot = $rsp->{node}->[0]->{slot}->[0];
$slot =~ s/-.*//; #remove range info if multi-wide blade
}
}
my $cmdref={