jails How to upgrade jails to latest version of FreeBSD

Yes.

Is there any need? Why not do the fetch once at the top of the script and then use the same files in each iteration of the loop?
I'm not sure I understand what you mean.

Don't I need a freebsd-update fetch in each jail?

Maybe I'm misunderstanding something.
 
Yes, you're right. Ignore me and apologies for the confusion. I thought that you were downloading a fresh base.txz to update the jails. However, if you read the freebsd-update manpage you'll see that there's a server option:

Code:
-s server  Fetch files from the specified server or server pool.

So, it looks like you might be able to download the files once, place them on your own server, set the path in the config file in each jail and proceed from there.
 
Back
Top