« Back to projectatomic.io
Ask Your Question

building ostree/atomic images - configuration files

asked 2014-08-25 19:51:10 +0000

cohenjo gravatar image

I've been following the Atomic building posted in the blog http://www.projectatomic.io/blog/2014/08/build-your-own-atomic-centos-or-fedora/ and couldn't find where do i add specific configuration files.

for example if i wish to install samba than i can add the packages to the "packages" section in "centos-atomic-server-docker-host.json" file, but where do i add the configuration file to go along with it?

How can I add my own configuration to the ostree created?

Thanks, - Jony

edit retag flag offensive close merge delete


How do you apply your configuration in the non-atomic world? If you do it w/ a package, you could include that package (and a repo file pointing to the right repo) in your config.

jasonbrooks ( 2014-08-28 19:13:29 +0000 )edit

Hi, Currently we supply a VM with the configuration files deployed inside - we were hoping to use ostree to ease the process of upgrading/updating this machine. have people simply pull the new tree instead of a new VM - keeping all their data in place. other than packaging the config files any other options?

cohenjo ( 2014-08-31 08:05:16 +0000 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2015-04-08 07:17:16 +0000

cohenjo gravatar image

Hi, I looked at the BYO link you added, it's really useful to get things started... as far as i can see the configuration is still left to a later phase by cloud-init, puppet etc. which is OK (you can preaty much do anything with it today as well) but it could be nice if we could push some configuration with the OS image and not as a later step by external tool.

It just feels that I only get half the work done by building my own atomic - I control packages but not configuration. If I need an external tool to control configuration, I could just as well do the package deployment from there as well...

Regards, - Jony

edit flag offensive delete link more

answered 2015-04-07 18:29:57 +0000

jzb gravatar image

I know this is an old question, but I just wanted to add you should check out the BYO docs here:

http://www.projectatomic.io/blog/2014... https://github.com/jasonbrooks/byo-at...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]


Asked: 2014-08-25 19:51:10 +0000

Seen: 1,468 times

Last updated: Apr 08 '15