-Fix syntax error in esx plugin
-Suppress warning in Common.pm library git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
cb1501c3c1
commit
33c6e7b5d2
@ -6,6 +6,7 @@ package xCAT::Common;
|
||||
|
||||
use File::stat;
|
||||
use File::Copy;
|
||||
use Thread qw/yield/;
|
||||
|
||||
BEGIN
|
||||
{
|
||||
@ -42,7 +43,7 @@ sub forward_data {
|
||||
close($rfh);
|
||||
}
|
||||
}
|
||||
yield; #Try to avoid useless iterations as much as possible
|
||||
yield(); #Try to avoid useless iterations as much as possible
|
||||
return $rc;
|
||||
}
|
||||
|
||||
|
@ -2277,7 +2277,7 @@ sub makecustomizedmod {
|
||||
close($shadow);
|
||||
if (-e "$::XCATROOT/share/xcat/netboot/esxi/47.xcat-networking") {
|
||||
mkpath($tempdir."/etc/vmware/init/init.d");
|
||||
copy( "$::XCATROOT/share/xcat/netboot/esxi/47.xcat-networking",$tempdir."/etc/vmware/init/init.d/47.xcat-networking"
|
||||
copy( "$::XCATROOT/share/xcat/netboot/esxi/47.xcat-networking",$tempdir."/etc/vmware/init/init.d/47.xcat-networking");
|
||||
}
|
||||
#TODO: auto-enable ssh and request boot-time customization rather than on-demand?
|
||||
require Cwd;
|
||||
|
Loading…
Reference in New Issue
Block a user