mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	initialize the variable XCATROOT when loading the .pm file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -9,6 +9,14 @@ use File::Path; | ||||
| #use Data::Dumper; | ||||
| use Sys::Syslog; | ||||
| use xCAT::ADUtils; #to allow setting of one-time machine passwords | ||||
|  | ||||
| BEGIN | ||||
| { | ||||
|       $::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat'; | ||||
| } | ||||
|  | ||||
|  | ||||
|  | ||||
| my $netdnssupport = eval { | ||||
|     require Net::DNS; | ||||
|     1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user