From 9d1dd34cf4dd859d8d603e450842d864b2e2926e Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Fri, 19 Apr 2024 06:28:31 -0400 Subject: [PATCH] Add Volume: /var/lib/containers/storage When running a bootc image as an OCI contianer, embeded containers will fail. This is because OSTree on OSTree is not allowed. Defaulting /var/lib/containers/storage to a Volume fixes the problem. Signed-off-by: Daniel J Walsh --- centos-bootc-config.json | 5 ++++- fedora-bootc-config.json | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/centos-bootc-config.json b/centos-bootc-config.json index 059c9ff0..a7c778d8 100644 --- a/centos-bootc-config.json +++ b/centos-bootc-config.json @@ -6,5 +6,8 @@ "redhat.id": "centos", "redhat.version-id": "9" }, - "StopSignal": "SIGRTMIN+3" + "StopSignal": "SIGRTMIN+3", + "Volumes": { + "/var/lib/containers/storage": {} + } } diff --git a/fedora-bootc-config.json b/fedora-bootc-config.json index f5429f9b..5448558e 100644 --- a/fedora-bootc-config.json +++ b/fedora-bootc-config.json @@ -5,5 +5,8 @@ "redhat.id": "fedora", "redhat.version-id": "40" }, - "StopSignal": "SIGRTMIN+3" + "StopSignal": "SIGRTMIN+3", + "Volumes": { + "/var/lib/containers/storage": {} + } }