mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 19:22:05 +00:00
add HTTPPORT=xxx in kcmdline for diskless/statelite
This commit is contained in:
parent
2e4bbcff1d
commit
1fb78eb97d
@ -652,7 +652,8 @@ sub mknetboot
|
||||
$kcmdline .= $statemnt . " ";
|
||||
|
||||
$kcmdline .= "XCAT=$xcatmasterip:$xcatdport ";
|
||||
|
||||
|
||||
$kcmdline .= "HTTPPORT=$httpport ";
|
||||
|
||||
if ($rootfstype ne "ramdisk") {
|
||||
|
||||
|
@ -1336,7 +1336,7 @@ sub mknetboot
|
||||
}
|
||||
|
||||
|
||||
|
||||
$kcmdline .=" HTTPPORT=$httpport ";
|
||||
|
||||
# add support for subVars in the value of "statemnt"
|
||||
my $statemnt = "";
|
||||
@ -1394,6 +1394,7 @@ sub mknetboot
|
||||
$kcmdline .= "XCAT=$xcatmaster:$xcatdport ";
|
||||
}
|
||||
|
||||
|
||||
# if site.nodestatus='n', add "nonodestatus" to kcmdline to inform the node not to update nodestatus during provision
|
||||
if (($nodestatus eq "n") or ($nodestatus eq "N") or ($nodestatus eq "0")) {
|
||||
$kcmdline .= " nonodestatus ";
|
||||
|
@ -515,6 +515,7 @@ sub mknetboot
|
||||
"imgurl=$httpmethod://$imgsrv:$httpport/$rootimgdir/$compressedrootimg ";
|
||||
}
|
||||
$kcmdline .= "XCAT=$xcatmaster:$xcatdport quiet ";
|
||||
$kcmdline .= " HTTPPORT=$httpport ";
|
||||
|
||||
#if site.nodestatus="n", append "nonodestatus" to kcmdline
|
||||
#to inform the statelite/stateless node not to update the nodestatus during provision
|
||||
|
Loading…
x
Reference in New Issue
Block a user