-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:
parent
92ebc7a796
commit
3cac50a3bc
@ -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");
|
||||
}
|
||||
|
@ -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={
|
||||
|
Loading…
Reference in New Issue
Block a user