diff --git a/pxe-boot/install.sh b/pxe-boot/install.sh index 42bcf7e..50b2fc7 100755 --- a/pxe-boot/install.sh +++ b/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" (