126 days ago · Tech · hide · Fediverse post

Not long ago, I ran pkgbasify on a FreeBSD 15.0 jail – this time I’m going to do it slightly differently. I’m going to run the script on the host. In this post: FreeBSD 15.0 the jail is named dns1 I’ll use the variable MYJAIL to make your copy/paste easier and my future runs easier Following the instructions at https://github.com/FreeBSDFoundation/pkgbasify I did the following. Download [23:03 r730-01 dvl ~/bin] % fetch https://github.com/FreeBSDFoundation/pkgbasify/raw/refs/heads/main/pkgbasify.lua pkgbasify.lua 21 kB 5699 kBps 00s [23:03 r730-01 dvl ~/bin] % chmod +x ./pkgbasify.lua Prepare the jail Based on previous runs, I added the following to my jail configuration and restarted the jail: # added for pkgbasify allow.chflags; securelevel = -1; Snapshot the jail [23:12 r730-01 dvl ~/bin] % sudo zfs snapshot data02/jails/dns1@before.pkgbasify [23:12 r730-01 dvl ~/bin] % Run the script [23:13 r730-01 dvl ~/bin] % export MYJAIL=dns1 [23:13 r730-01 dvl ~/bin] % sudo ./pkgbasify.lua…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town