mirror of
https://github.com/get-aurora-dev/iso.git
synced 2026-11-03 21:49:46 -09:00
chore: remove /usr/lib/containers/storage and go back to /var (#103)
This commit is contained in:
parent
d64dbbf707
commit
0a9dbbf9d1
1 changed files with 0 additions and 15 deletions
|
|
@ -24,17 +24,6 @@ if [[ -f "$SCRIPT_DIR/flatpaks.list" ]]; then
|
|||
flatpak list --columns=runtime,app
|
||||
fi
|
||||
|
||||
# Configure podman temporarily to write to /usr/lib/containers/storage
|
||||
# This avoids storing the huge base image in /var/lib/containers/storage
|
||||
# (which is empty/tmpfs in the booted live environment and would exhaust RAM)
|
||||
mkdir -p /etc/containers
|
||||
cat >/etc/containers/storage.conf <<'EOF'
|
||||
[storage]
|
||||
driver = "overlay"
|
||||
runroot = "/run/containers/storage"
|
||||
graphroot = "/usr/lib/containers/storage"
|
||||
EOF
|
||||
|
||||
# Pull the container image to be installed
|
||||
if [[ -n "${BASE_IMAGE:-}" ]]; then
|
||||
podman pull "${BASE_IMAGE}"
|
||||
|
|
@ -47,10 +36,6 @@ else
|
|||
podman pull "${IMAGE_REF}:${IMAGE_TAG}"
|
||||
fi
|
||||
|
||||
# Clean up the temporary storage configuration so that runtime podman uses the default
|
||||
rm -f /etc/containers/storage.conf
|
||||
|
||||
|
||||
ANACONDA=(
|
||||
anaconda-live
|
||||
anaconda-webui
|
||||
|
|
|
|||
Loading…
Reference in a new issue