defect 3085064: fixed the problem that strip off hostname from CN when not set site.domain
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -776,7 +776,7 @@ if ($inet6support) { | ||||
|         $peerhost && $peerhost =~ s/\.$domain\.*$//; | ||||
|     } else { | ||||
|         # otherwise just strip off whatever comes after the first dot | ||||
|         $peerhost && $peerhost =~ s/^.*?\.//; | ||||
|         $peerhost && $peerhost =~ s/\..*//; | ||||
|     } | ||||
|  | ||||
|     $peerhost && $peerhost =~ s/-eth\d*$//; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user