MadaMada

@madamada@snac.void.my

SysAdmin with a simple life..interested in FOSS, FreeBSD, Linux, IPv6, cloud stuff and whatever things that come along the way I find interesting..
JabberIDmadamada@xpath.my
Matrix@madamada:matrix.org
Emailmada@void.my
Webhttps://buster.xpath.my
Geminigemini://warlock.xpath.my
TheFediPeoplehttps://fediverse.info/explore/people
Yggdrasilhttps://yggdrasil-network.github.io/
0 ★ 0 ↺

[?]MadaMada ยป
@madamada@snac.void.my

Updating bsdinstall distribution files

I usually install my jails with bsdinstall(8).. My previous installs were using the distribution files for FreeBSD 14.2-RELEASE ..

But now I want to prep bsdinstall(8) to use the distribution files for FreeBSD 14.3-RELEASE .. Here's what I did..

cd /usr
mv freebsd-dist freebsd-dist-14.2r
mkdir freebsd-dist
cd freebsd-dist

cat << _EOF > dists.txt
http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/14.3-RELEASE/MANIFEST
http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/14.3-RELEASE/ports.txz
http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/14.3-RELEASE/base.txz
http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/14.3-RELEASE/lib32.txz
_EOF

for x in `cat dists.txt` ; do curl -O "$x" ; done

Then do the checksums on the files to see if they match the one's in the MANIFEST file
grep base.txz MANIFEST
sha256 base.txz
...
Now when I want to install a new skeleton jail,
mkdir /vm/jail/newHost
bsdinstall jail /vm/jail/newHost

History