jaredj

u/jaredj


r/freebsd•

While trying to move jails between servers using iocage export and import, I found that iocage 1.2 (the currently packaged version) was reading the entire imported file into RAM. For a large jail, this is a clear problem. I found that there was a bug filed for it - and even a fix! - but a version containing the fix had not been released.

I managed to build the git HEAD of iocage into a single executable, iocage-sac, using pex, in this type of way:

git clone https://github.com/iocage/iocage
cd iocage
python3 -m venv ve
source ve/bin/activate
pip install -r requirements.txt
pip install wheel
py
20

You've reached the end of this feed.