From 9193a28784c996ac2712ee50cc979bf99d5224db Mon Sep 17 00:00:00 2001 From: Juuso Haavisto Date: Tue, 27 Apr 2021 13:48:12 +0300 Subject: [PATCH] add more physical RAM, avoid podman's flaky cache, rename to yaml more about flaky cache: - https://github.com/containers/podman/issues/7021 - https://github.com/containers/podman/issues/7294 using mv does not work across boots, running rm -rf seems too adventorous --- http-server/ignition/{muro.bu => muro.yaml} | 7 ------- 1 file changed, 7 deletions(-) rename http-server/ignition/{muro.bu => muro.yaml} (89%) diff --git a/http-server/ignition/muro.bu b/http-server/ignition/muro.yaml similarity index 89% rename from http-server/ignition/muro.bu rename to http-server/ignition/muro.yaml index a901445..9b83866 100644 --- a/http-server/ignition/muro.bu +++ b/http-server/ignition/muro.yaml @@ -126,14 +126,7 @@ systemd: [Service] Type=oneshot - ExecStartPre=/usr/bin/mv /var/mnt/bakhal/podman /var/mnt/bakhal/podman.old - ExecStartPre=/usr/bin/mkdir -p /var/mnt/bakhal/podman/runroot /var/mnt/bakhal/podman/graphroot /var/mnt/bakhal/podman/rootless - ExecStartPre=/usr/bin/chown -R core:core /var/mnt/bakhal/podman ExecStartPre=/usr/bin/chown -R core:core /var/home/core - ExecStartPre=/usr/bin/sed -i 's|runroot = "/run/containers/storage"|runroot = "/var/mnt/bakhal/podman/runroot"|' /etc/containers/storage.conf - ExecStartPre=/usr/bin/sed -i 's|graphroot = "/var/lib/containers/storage"|graphroot = "/var/mnt/bakhal/podman/graphroot"|' /etc/containers/storage.conf - ExecStartPre=/usr/bin/sed -i 's|# rootless_storage_path = "$HOME/.local/share/containers/storage"|rootless_storage_path = "/var/mnt/bakhal/podman/rootless"|' /etc/containers/storage.conf - ExecStart=/usr/bin/sed -i 's/driver = "overlay"/driver = "btrfs"/' /etc/containers/storage.conf [Install] WantedBy=multi-user.target