----- Original Message ----- > From: "Joe Smithian" <joe.smith...@gmail.com> > To: "Jason Brooks" <jbro...@redhat.com> > Cc: atomic-devel@projectatomic.io > Sent: Wednesday, October 28, 2015 12:42:23 PM > Subject: Re: [atomic-devel] Can we use CentOS Atomic ostree-rpm in > offline/local upgrade mode? > > Thanks Jason for your comments. We don't want to run a web server on the > target machine. Is there a way to upgrade without a web server?
Maybe -- this is how the updates are provided by the projects, so this is how I've always consumed them. It would make sense for there to be a way to point at the location of the repo in a directory or something, but I haven't done it. Colin Walters will know if/how. Jason > > Regards, > Joe > > > On Wed, Oct 28, 2015 at 2:40 PM, Jason Brooks <jbro...@redhat.com> wrote: > > > > > > > ----- Original Message ----- > > > From: "Joe Smithian" <joe.smith...@gmail.com> > > > To: atomic-devel@projectatomic.io > > > Sent: Wednesday, October 28, 2015 7:49:17 AM > > > Subject: [atomic-devel] Can we use CentOS Atomic ostree-rpm in > > offline/local upgrade mode? > > > > > > Hello, > > > > > > I am interested in using CentOS atomic for its virtualization, softwsre > > > upgrade and roll back support and few other nice features. I am wondering > > > if we can use ostree-rm in offline/local mode to upgrade OS with NO > > online > > > access. > > > > > > I want to initially install CentOS Atomic from a set of known RPM > > packages > > > then upgrade it in the filed by copying a copy of new OS image to the > > box, > > > and upgrading it locally with no online access. Is this possible? How? > > any > > > document how to use ostree in offline/local mode? > > > > You could compose a tree, then sync it to something like a basic web server > > container running on the to-be-upgraded host itself, and then upgrade, > > while > > offline, from that web container. > > > > This "compose your own" doc works a bit like that: > > > > http://www.projectatomic.io/docs/compose-your-own-tree/ > > > > Line 63 in the script[1] we use for building the centos atomic host shows > > the > > repo-syncing bit: > > > > [1] > > > > > > https://github.com/CentOS/sig-atomic-buildscripts/blob/downstream/build_ostree_components.sh > > > > > > Regards, Jason > > > > > > > > > > Thanks, > > > > > > Jim > > > > > >