fix(quickstart): handle potential wrapping of df cmd output in disk space check (#15083)

This commit is contained in:
Chakru 2025-10-23 16:44:54 +05:30 committed by GitHub
parent 12cf28186c
commit 695fb4904e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,7 +111,7 @@ def run_quickstart_preflight_checks(client: docker.DockerClient) -> None:
result = client.containers.run(
"alpine:latest",
"sh -c \"df -B1 / | tail -1 | awk '{print $2, $4}'\"", # total, available
"sh -c \"df -B1 -P / | awk 'NR==2{print $2, $4}'\"", # total, available
remove=True,
stdout=True,
stderr=True,