tremplin: Check guest disk space in importContainer

Check guest disk space instead of host in importContainer. The disk size
is preallocated on installation, so we should not be checking the host
disk space.

BUG=b:308708302,b:302415044
TEST=resized disk and restored container

Change-Id: I467e84c6f69dc0b82f6f1ea25070d482bbd78053
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tremplin/+/5082321
Tested-by: James Ye <jamesye@google.com>
Commit-Queue: James Ye <jamesye@google.com>
Reviewed-by: Emil Mikulic <easy@google.com>
Reviewed-by: Fergus Dall <sidereal@google.com>
2 files changed
tree: 11aaa21964f4d1531ffbb7b23d8e231178488455
  1. src/
  2. .gitignore
  3. DIR_METADATA
  4. OWNERS
  5. README.md
README.md

Tremplin

Tremplin is the “springboard” daemon that runs in the Termina VM and exposes a gRPC interface for managing LXD containers.