mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 17:46:38 +00:00
bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8f99448693
commit
102aa513e4
@ -697,13 +697,21 @@ sub makescript
|
||||
|
||||
if ($setbootfromnet)
|
||||
{
|
||||
push @scriptd, "setbootfromnet\n";
|
||||
if (!exists($post_hash{setbootfromnet}))
|
||||
{
|
||||
$post_hash{setbootfromnet} = 1;
|
||||
push @scriptd, "setbootfromnet\n";
|
||||
}
|
||||
}
|
||||
|
||||
# add setbootfromdisk if the nodesetstate is install and arch is ppc64
|
||||
if (($nodesetstate) && ($nodesetstate eq "install") && ($arch eq "ppc64"))
|
||||
{
|
||||
push @scriptd, "setbootfromdisk\n";
|
||||
if (!exists($post_hash{setbootfromdisk}))
|
||||
{
|
||||
$post_hash{setbootfromdisk} = 1;
|
||||
push @scriptd, "setbootfromdisk\n";
|
||||
}
|
||||
}
|
||||
|
||||
###Please do not remove or modify this line of code!!! xcatdsklspost depends on it
|
||||
|
Loading…
x
Reference in New Issue
Block a user