the fix for hostname alias

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@11594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing
2012-02-16 02:43:01 +00:00
parent d83bf2204d
commit 768595be98
+6
View File
@@ -1028,6 +1028,12 @@ sub find_nameserver_for_dns {
}
}
}
if (defined $ctx->{aliases}->{$node}) {
foreach (keys %{$ctx->{aliases}->{$node}}) {
push @rrcontent, "$_ IN CNAME $name";
}
}
if ($ctx->{deletemode}) {
push @rrcontent,"$name TXT";
push @rrcontent,"$name A";