mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-12 13:18:27 +03:00
af7fed94ed
These at the moment aren't in a container, and may need space. In the future overlay2 will help here, we can more easily extend the rootfs. Closes: #840 Approved by: jlebon
9 lines
238 B
Bash
Executable File
9 lines
238 B
Bash
Executable File
#!/bin/bash
|
|
set -xeuo pipefail
|
|
# If we're using devmapper, expand the root
|
|
if lvm lvs atomicos/docker-pool &>/dev/null; then
|
|
systemctl stop docker
|
|
lvm lvremove -f atomicos/docker-pool
|
|
fi
|
|
lvm lvextend -r -l +100%FREE atomicos/root
|