diff --git a/installer/pxe-network-installer/pxe-network-installer/pxeboot-update.sh b/installer/pxe-network-installer/pxe-network-installer/pxeboot-update.sh
index ab65d59b..045e949d 100755
--- a/installer/pxe-network-installer/pxe-network-installer/pxeboot-update.sh
+++ b/installer/pxe-network-installer/pxe-network-installer/pxeboot-update.sh
@@ -19,20 +19,21 @@ function usage {
$0: This utility is used to generate a node-specific pxeboot.cfg file
Arguments:
- -i : Specify template to use
- -o : Specify output filename
- -t : Use text install (optional)
- -g : Use graphical install (optional)
- -c : Specify serial console (optional)
- -b : Specify boot device
- -r : Specify rootfs device
- -H : Delay at init waiting for H/W to be ready (optional)
- -u : Base url for TIS install progress notification
- -s : Specify Security Profile mode (optional)
- -T : Specify whether or not to use tboot (optional)
- -k : Specify any extra kernel boot arguments (optional)
- -l : Specify installer base URL
- -d : Update Debian grub menus ; rather than centos menus
+ -i : Specify template to use
+ -o : Specify output filename
+ -t : Use text install (optional)
+ -g : Use graphical install (optional)
+ -c : Specify serial console (optional)
+ -b : Specify boot device
+ -r : Specify rootfs device
+ -H : Delay at init waiting for H/W to be ready (optional)
+ -u : Base url for TIS install progress notification
+ -s : Specify Security Profile mode (optional)
+ -T : Specify whether or not to use tboot (optional)
+ -k : Specify any extra kernel boot arguments (optional)
+ -l : Specify installer base URL
+ -v : Specify intel driver ver to load
+ -d : Update Debian grub menus ; rather than centos menus
EOF
}
@@ -71,7 +72,7 @@ parms=$@
logger -t $0 " $parms"
debian_menus=false
-while getopts "i:o:tgc:b:r:H:u:s:T:k:l:h:d" opt
+while getopts "i:o:tgc:b:r:H:u:s:T:k:l:v:h:d" opt
do
case $opt in
i)
@@ -121,6 +122,9 @@ do
l)
base_url=$OPTARG
;;
+ v)
+ driver_ver=$OPTARG
+ ;;
h)
usage
exit 1
@@ -200,6 +204,10 @@ if [ -n "$kernal_extra_args" ]; then
APPEND_OPTIONS="$APPEND_OPTIONS $kernal_extra_args"
fi
+if [ -n "$driver_ver" ]; then
+ APPEND_OPTIONS="$APPEND_OPTIONS multi-drivers-switch=$driver_ver"
+fi
+
BASE_URL=$base_url
generate_config $input_file $output_file