Date: Thu, 19 Aug 2021 18:34:43 +1200 From: Jonathan Chen <jonc@chen.org.nz> To: Aristedes Maniatis <ari@ish.com.au> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: Run script as root without sudo Message-ID: <CAJuc1zMr9f8MvCgCUXeXPVTGt5fQbcnZP8VPQrCPU8SdJtneCw@mail.gmail.com> In-Reply-To: <f163070a-03a8-7b37-e2e8-7e6c3d3169d8@ish.com.au> References: <a7d48318-6b21-231e-1042-2d2daad72c50@ish.com.au> <CAJuc1zP_xLCz-SP4yvr2_m4zKFWVxBdDfMXBtjXSpaD=N=O6WA@mail.gmail.com> <f163070a-03a8-7b37-e2e8-7e6c3d3169d8@ish.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Aug 2021 at 18:25, Aristedes Maniatis <ari@ish.com.au> wrote: > > That would require root to put the file there and then to reboot the > machine. In which case, wouldn't it be simpler to just start a new instance, install your packages by hand, and then take a snapshot of the volume and convert it to a custom AMI instead? That way all new instances from your custom AMI will be preconfigured with the required packages. Cheers. -- Jonathan Chen <jonc@chen.org.nz>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zMr9f8MvCgCUXeXPVTGt5fQbcnZP8VPQrCPU8SdJtneCw>