Realign create action dependencies

This commit is contained in:
jonct 2024-07-15 17:21:09 -04:00
parent 80f6c0e7d2
commit 7e07121914
1 changed files with 4 additions and 4 deletions

View File

@ -2,14 +2,13 @@
# #
# SPDX-License-Identifier: LGPL-3.0-only # SPDX-License-Identifier: LGPL-3.0-only
import contextlib import sys
import os
import re
from inspect import cleandoc from inspect import cleandoc
from pathlib import Path, PurePath from pathlib import Path, PurePath
from textwrap import dedent from textwrap import dedent
from actions.start import start_jail
from cli import DISCLAIMER from cli import DISCLAIMER
from paths import COMMAND_NAME, JAILS_DIR_PATH, SCRIPT_NAME, SCRIPT_DIR_PATH from paths import COMMAND_NAME, JAILS_DIR_PATH, SCRIPT_NAME, SCRIPT_DIR_PATH
from utils.chroot import Chroot from utils.chroot import Chroot
@ -19,7 +18,8 @@ from utils.download import run_lxc_download_script
from utils.files import stat_chmod, get_mount_point from utils.files import stat_chmod, get_mount_point
from utils.dataset import check_jail_name_valid, check_jail_name_available from utils.dataset import check_jail_name_valid, check_jail_name_available
from utils.dataset import get_jail_config_path, get_jail_rootfs_path from utils.dataset import get_jail_config_path, get_jail_rootfs_path
from utils.dataset import get_jail_path, get_zfs_dataset, create_zfs_dataset, cleanup from utils.dataset import get_jail_path, get_zfs_dataset, create_zfs_dataset
from utils.dataset import parse_os_release, cleanup
def create_jail(**kwargs): def create_jail(**kwargs):