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 82672d3e..09474f83 100755 --- a/installer/pxe-network-installer/pxe-network-installer/pxeboot-update.sh +++ b/installer/pxe-network-installer/pxe-network-installer/pxeboot-update.sh @@ -77,10 +77,12 @@ do case $opt in i) input_file=$OPTARG + input_file_dirname=$(dirname $input_file) input_file_basename=$(basename $input_file) # lowlatency files removed. Added for backwards compatibility fixed_input_file_basename=$(echo $input_file_basename | sed 's/_lowlatency//') - input_file_efi=$(dirname $input_file)/efi-$fixed_input_file_basename + input_file=${input_file_dirname}/${fixed_input_file_basename} + input_file_efi=${input_file_dirname}/efi-${fixed_input_file_basename} ;; o) output_file=$OPTARG