Skip to content

Commit

Permalink
add more physical RAM, avoid podman's flaky cache, rename to yaml
Browse files Browse the repository at this point in the history
more about flaky cache:
- containers/podman#7021
- containers/podman#7294

using mv does not work across boots, running rm -rf seems too adventorous
  • Loading branch information
jhvst committed Apr 27, 2021
1 parent 41c6ce3 commit 9193a28
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9193a28

Please sign in to comment.