Convert seed example to jinja2 and copy in

The pvcbootstrapd system will load this template and write it out for
each host. But keep the nice comments for human-readable use just in
case.
This commit is contained in:
2021-12-12 23:28:00 -05:00
parent 483068c38c
commit 62b06f9c1b
3 changed files with 67 additions and 35 deletions

View File

@ -124,6 +124,10 @@ build_pxe() {
cp templates/boot.pxe ${outputdir}/boot.pxe
echo "done."
echo -n "Copying preseed template... "
cp templates/host-preseed.j2 ${outputdir}/host-preseed.j2
echo "done."
sudo chown -R $(whoami) ${outputdir}
sudo chmod -R u+w ${outputdir}