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

Re: [atomic-devel] Determining if a host is an atomic host



On 09.11.2015 17:45, Charlie Drage wrote:
> I'm working on docker-machine integration for atomic host's. The
> problem I'm facing is the fact that "atomic" isn't defined under
> /etc/os-release, simply "fedora" or "centos".
> 
> At the moment the only viable way to determine if an OS is an atomic
> host or not would be 'ls /ostree' or 'rpm-ostree status' (correct me
> if I'm wrong).
> 
> Is there a possibility to add a description to /etc/os-release in
> order to determine if this is an atomic host or not? Creating a
> standardized way for scripts (Ansible, docker machine, etc.) to detect
> if this is an atomic host or not?
> 
> I did try 'uname -r' as well to try and see if there was a
> specifically named kernel version, but it's not either.

For the Cockpit project we would like to have this too. We really don't
want to have to run the equivalent of a ./configure script on a system
to figure out "what" it is.

Here's a relevant bug with some discussion:

https://bugzilla.redhat.com/show_bug.cgi?id=1200122

Stef

Attachment: signature.asc
Description: OpenPGP digital signature


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