This repository has been archived by the owner on May 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FC: jailer failed when importing new flag "--config-file"
When we used jailer to launch firecracker, kata container failed due to the following causes: 1. new flag `--config-file` belongs to the jailed firecracker, so, adhering to the `end of command options` convention, we need to give `--config-file` a prefix `--`. 2. The path of the config file(`fcConfig.json`) should be also relative to the jailed firecracker. 3. Since we do the configuration before func `fcInit` now, we also need to bring `jailer check` ahead. 4. The config file should be umounted and cleaned up. Fixes: #2362 Signed-off-by: Penny Zheng <[email protected]>
- Loading branch information