Date: Tue, 23 Aug 2011 17:26:24 +0200 From: Paul Schenkeveld <freebsd@psconsult.nl> To: freebsd-questions@freebsd.org Cc: Peter Andreev <andreev.peter@gmail.com>, Johan Hendriks <Johan@double-l.nl> Subject: Re: freebsd-update, fetch once upgrade many machines Message-ID: <20110823152624.GA4573@psconsult.nl> In-Reply-To: <20110819141030.GA31338@psconsult.nl> References: <20110819141030.GA31338@psconsult.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 19, 2011 at 04:10:30PM +0200, Paul Schenkeveld wrote: > Hi, > > Is it possible to fetch files needed for freebsd-update once and put > them on a local fileserver to update many machines? Thanks for the pointers on how to set up my own build servers for freebsd-update but I'm not really interested in building locally, I just want to mirror the releases and patches that we're interested in locally and point freebsd-update at my local mirror. Meanwhile I've been reading parts of the freebsd-update script to see how updates are distributed. It looks like stuff gets moved around in /var/db/freebsd-update during the whole process and what exactly gets downloaded depends on what's installed on the machine fetching the files. Ideally I'd like to be able to do something like: 'wget -r http://update.freebsd.org/x.y-RELEASE/amd64' to fill my cache, even if x.y is a lower release number than the current release that my mirror server runs at, i.e. on a 8.2-R server I'd like to mirror updates for servers I'd like to upgrade from 7.2 to 7.4. > The reason for asking is that all these machines are on secure > networks and are not allowed to have Internet access but can all > access a common fileserver (using FTP, HTTP, SSH but not NFS). > > I can safely assume that all these machines run the same version of > FreeBSD, installed from binary distributions, GENERIC kernel and only > upgraded using freebsd-update. Thanks, Paul Schenkeveld
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110823152624.GA4573>