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:
@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user