On 1/22/19 3:08 PM, Bob Gustafson wrote:
On 1/22/19 12:02 PM, Dusty Mabe wrote:
>
> On 1/22/19 12:48 PM, Bob Gustafson wrote:
>> I seem to be collecting boxes loaded up with atomic|coreos. Every two
>> weeks, I download and install a few copies of the latest Release.
> That's awesome!
>
>> I have local servers I could use for a local repository. Any
>> recommendations on a script for offloading the downloads to a local
>> repository?
>>
> What specifically are you downloading? The ISO images? The Cloud images?
> The repo itself?
>
> Dusty
I just type 'atomic host upgrade' and then a few minutes later 'sudo
systemctl reboot' and then a couple minutes later, reconnect with ssh.
Originally, I used the iso bootstrap image to get things going from bare
metal, but now the upgrade process just grabs what it needs.
Right. For atomic host you can set up your own ostree server and use that
as a mirror in your local network if you like.
Vadim provided some commands [1] you can run to mirror things
For your case you will want to mirror the `fedora/29/x86_64/atomic-host` ref
and then update your remote file under /etc/ostree/remotes.d/ directory to point
to your host in your local network.
See also the following two sections from a previous blog post I did [2] on
hosting your own server:
- Hosting The OSTree Repository Over HTTP
- Rebasing Clients To The New OSTree
Dusty
[1]
https://lists.fedoraproject.org/archives/list/coreos@lists.fedoraproject....
[2]
https://dustymabe.com/2017/10/05/setting-up-an-atomic-host-build-server/