This commit is contained in:
Jip-Hop 2024-03-02 21:01:41 +01:00
parent cd067d7058
commit 0a56d97e72
1 changed files with 1 additions and 0 deletions

View File

@ -1198,6 +1198,7 @@ def create_jail(**kwargs):
config = KeyValueParser()
if jail_config_path:
# TODO: fallback to default values for e.g. distro and release if they are not in the config file
print(f"Creating jail {jail_name} from config template {jail_config_path}.")
if jail_config_path not in config.read(jail_config_path):
eprint(f"Failed to read config config template {jail_config_path}.")