mirror of
https://github.com/coreos/fedora-coreos-config.git
synced 2026-02-05 09:45:30 +01:00
tree: import changes from testing-devel at eb805db1d5
This commit is contained in:
@@ -34,8 +34,10 @@ get_fedora_minimal_container_ref() {
|
||||
echo "${repo}:${tag}"
|
||||
}
|
||||
|
||||
# Look for the "com.coreos.stream" annotation from the container image
|
||||
get_fcos_stream() {
|
||||
rpm-ostree status -b --json | jq -r '.deployments[0]["base-commit-meta"]["fedora-coreos.stream"]'
|
||||
rpm-ostree status -b --json \
|
||||
| jq --raw-output '.deployments[0]."base-commit-meta"."ostree.container.image-config" | fromjson | .config.Labels."com.coreos.stream"'
|
||||
}
|
||||
|
||||
is_fcos() {
|
||||
|
||||
Reference in New Issue
Block a user