[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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?

Regards,
Joe


On Wed, Oct 28, 2015 at 2:40 PM, Jason Brooks <jbrooks redhat com> wrote:


----- Original Message -----
> From: "Joe Smithian" <joe smithian 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
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]