Browse Source

fix typo

main
Nicolas Massé 2 months ago
parent
commit
f2b3a67045
  1. 4
      pxe-boot/install.sh

4
pxe-boot/install.sh

@ -60,13 +60,13 @@ function template_kickstart_files() {
}
# This function templates a single kickstart file.
# It takes two arguments: the path to the template file and the current scenario.
# It takes two arguments: the path to the template file and the bootc image.
# It uses envsubst to replace placeholders with actual values.
function template_kickstart_file () {
local template="$1"
local bootc_image="$2"
local template_name="$(basename "$template" .ks)"
local output_file="$output_dir/${template_name}/${type}.ks"
local output_file="$output_dir/${template_name}/baremetal.ks"
echo "Templating $template_name to $output_file"
(

Loading…
Cancel
Save