diff --git a/kickstart/files/kickstart.cfg b/kickstart/files/kickstart.cfg index 3cc3e659..7859cefb 100644 --- a/kickstart/files/kickstart.cfg +++ b/kickstart/files/kickstart.cfg @@ -1466,7 +1466,7 @@ EOF # Set http port # Persist the default http port number to platform configuration. # This will get overwritten when by manifest during sw configuration phase. -if [[ "${insturl}" == *"http"* ]] ; then +if [[ "${insturl}" == *"pxecontroller"* && "${insturl}" == *"http"* ]] ; then http_port=$(echo $(cat /proc/cmdline |xargs -n1 echo |grep '^insturl=' | sed -r 's#^[^/]*://[^/]*:([0-9]*)/.*#\1#')) else http_port=8080