ch-remote: Support using unit suffices for "resize"

Remove the requirement for the user to calculate the size they want in
bytes.

Fixes: #1596

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2020-09-08 15:51:00 +01:00
committed by Sebastien Boeuf
parent 42de27b215
commit a86a2711f8
4 changed files with 22 additions and 8 deletions

1
Cargo.lock generated
View File

@@ -206,6 +206,7 @@ dependencies = [
"libc",
"log 0.4.11",
"net_util",
"option_parser",
"seccomp",
"serde_json",
"ssh2",