Date: Tue, 20 Sep 2022 23:14:10 +0100 From: Nuno Teixeira <eduardo@freebsd.org> To: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Good practices with bectl Message-ID: <CAFDf7UL42z-m9P-gp6eY-orwcPz_UdJpiAM3ab-z4XLbY0LOdg@mail.gmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] Hello to all, I will use becl for the first time for current upgrades. Just to check that I'm thinking correctly: Create a test environment for upgrade: > bectl create -r test (should I use '-r'?) Activate test: > bectl activate test > reboot ... > upgrade OS on test > reboot ... if a problem happens, reboot default from BE loader --- if everything fine destroy default and rename test to default > bectl destroy -o default > bectl rename test default repeat on next upgrade Don't know if a faster way exists with chroot or bectl jail... Any hints appreciated. Thanks, -- Nuno Teixeira FreeBSD Committer (ports) [-- Attachment #2 --] <div dir="ltr"><div>Hello to all,</div><div><br></div><div>I will use becl for the first time for current upgrades.</div><div>Just to check that I'm thinking correctly:</div><div><br></div><div>Create a test environment for upgrade:</div><div>> bectl create -r test (should I use '-r'?)<br></div><div>Activate test:</div><div>> bectl activate test</div><div>> reboot<br></div><div>...</div><div>> upgrade OS on test</div><div>> reboot</div><div>...</div><div>if a problem happens, reboot default from BE loader</div><div>---<br></div><div>if everything fine destroy default and rename test to default<br></div><div>> bectl destroy -o default</div><div>> bectl rename test default</div><div>repeat on next upgrade</div><div><br></div><div>Don't know if a faster way exists with chroot or bectl jail...</div><div><br></div><div>Any hints appreciated.</div><div><br></div><div>Thanks,<br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committer (ports)</span></div></div></div></div>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UL42z-m9P-gp6eY-orwcPz_UdJpiAM3ab-z4XLbY0LOdg>
