<div dir="ltr">We tend to use either custom packages from our internal repos specified in the NFSROOT config, or puppet [ as we leverage that a lot anyway ].<div><br></div><div>I think packages are probably cleaner for your use case, as it can handle removal of files too, and it's quite simple.</div><div>Puppet [ or any other infra orchestration ] can do that too, but can be more complex to support.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div><br></div><div><br></div>Cheers,<div>Just</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 11 Aug 2021 at 15:21, John G Heim via linux-fai <<a href="mailto:linux-fai@uni-koeln.de">linux-fai@uni-koeln.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Diese Nachricht wurde eingewickelt um DMARC-kompatibel zu sein. Die<br>
eigentliche Nachricht steht dadurch in einem Anhang.<br>
<br>
This message was wrapped to be DMARC compliant. The actual message<br>
text is therefore in an attachment.<br><br><br>---------- Forwarded message ----------<br>From: John G Heim <<a href="mailto:jheim@math.wisc.edu" target="_blank">jheim@math.wisc.edu</a>><br>To: fully automatic installation for Linux <<a href="mailto:linux-fai@uni-koeln.de" target="_blank">linux-fai@uni-koeln.de</a>><br>Cc: <br>Bcc: <br>Date: Wed, 11 Aug 2021 09:21:17 -0500<br>Subject: Tips for easily creating nfsroot?<br>When I recreate the nfsroot for my FAI installation, I have to do a lot <br>
of extra stuff. I know about adding packages to /etc/fai/NFSROOT and <br>
writing hooks. Problem is that most of the stuff i have to do is copying <br>
files. I was thinking about creating a directory within /etc/fai and <br>
then simply write a hook that does an rsync from /etc/fai/files/ to <br>
/srv/fai/nfsroot/. Anybody have any ideas for a cleaner way to handle this?<br>
<br>
<br>
-- <br>
John G. Heim; <a href="mailto:jheim@math.wisc.edu" target="_blank">jheim@math.wisc.edu</a>; 608-263-4189<br>
</blockquote></div>

<br>
<p style="margin:0px;background-color:rgb(255,255,255)"><font face="Calibri, sans-serif" color="#aeaaaa"><span style="font-size:14.6667px">Notice: <br>This email is confidential and may contain copyright material of members of the Ocado Group. Opinions and views expressed in this message may not necessarily reflect the opinions and views of the members of the Ocado Group.<br><br>If you are not the intended recipient, please notify us immediately and delete all copies of this message. Please note that it is your responsibility to scan this message for viruses.<br><br>References to the "Ocado Group" are to Ocado Group plc (registered in England and Wales with number 7098618) and its subsidiary undertakings (as that expression is defined in the Companies Act 2006) from time to time. The registered office of Ocado Group plc is Buildings One & Two, Trident Place, Mosquito Way, Hatfield, Hertfordshire, AL10 9UL.</span></font></p>