FIXUP: Use 'load -i'

This commit is contained in:
Alex Pyrgiotis 2025-03-10 14:45:03 +02:00
parent 8ca1357a41
commit c0ff351a2e
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -128,11 +128,9 @@ def get_expected_tag() -> str:
def load_image_tarball() -> None:
log.info("Installing Dangerzone container image...")
tarball_path = get_resource_path("container.tar")
with open(tarball_path) as f:
try:
res = subprocess.run(
[get_runtime(), "load"],
stdin=f,
[get_runtime(), "load", "-i", tarball_path],
startupinfo=get_subprocess_startupinfo(),
capture_output=True,
check=True,